Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 91.22 kB / 20.43 MB, free: 4.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009462/0.0009462, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8485/0.8485, allocations: 158.6 MB / 185.7 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1466/0.1466, allocations: 32.38 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.753e-05, allocations: 6.25 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01904/0.01907, allocations: 19.16 MB / 366.8 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.02916, allocations: 4.955 MB / 371.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003771/0.03293, allocations: 167.1 kB / 371.9 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.04304, allocations: 8.342 MB / 380.3 MB, free: 8.688 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006817/0.04986, allocations: 2.222 MB / 382.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004105/0.05397, allocations: 1.406 MB / 383.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01438/0.06835, allocations: 12.8 MB / 396.7 MB, free: 8.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02735/0.0957, allocations: 16.84 MB / 413.6 MB, free: 7.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01736/0.1131, allocations: 9.949 MB / 423.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.1233, allocations: 7.334 MB / 430.8 MB, free: 5.832 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004964/0.1282, allocations: 1.734 MB / 432.6 MB, free: 4.098 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006761/0.135, allocations: 1.937 MB / 434.5 MB, free: 2.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1736/0.3086, allocations: 3.871 MB / 438.4 MB, free: 45.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01155/0.3201, allocations: 4.83 MB / 443.2 MB, free: 45.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02236/0.3425, allocations: 12.16 MB / 455.4 MB, free: 44.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.3425, allocations: 0 / 455.4 MB, free: 44.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3425, allocations: 3.406 kB / 455.4 MB, free: 44.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0008373/0.3434, allocations: 0 / 455.4 MB, free: 44.5 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.03774/0.3811, allocations: 16.06 MB / 471.4 MB, free: 37.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.3811, allocations: 7.062 kB / 471.4 MB, free: 37.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04026/0.4214, allocations: 14.83 MB / 486.3 MB, free: 28.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/0.4363, allocations: 5.967 MB / 492.2 MB, free: 23.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/0.4375, allocations: 0.9014 MB / 493.2 MB, free: 22.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005616/0.4431, allocations: 1.2 MB / 494.4 MB, free: 20.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03535/0.4785, allocations: 8.618 MB / 0.4912 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006967/0.4792, allocations: 11.91 kB / 0.4912 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0053/0.4845, allocations: 0.4966 MB / 0.4917 GB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004967/0.4849, allocations: 0.6856 MB / 0.4923 GB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/0.5087, allocations: 6.465 MB / 0.4987 GB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09886/0.6076, allocations: 47.45 MB / 0.545 GB, free: 5.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01517/0.6228, allocations: 8.235 MB / 0.553 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004184/0.627, allocations: 1.617 MB / 0.5546 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.6275, allocations: 180.9 kB / 0.5548 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.219e-05/0.6275, allocations: 110.7 kB / 0.5549 GB, free: 11.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=674): time 8.546e-06/0.6276, allocations: 0 / 0.5549 GB, free: 11.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=674): time 0.009836/0.6374, allocations: 4.834 MB / 0.5596 GB, free: 6.977 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.6375, allocations: 120.7 kB / 0.5597 GB, free: 6.844 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/0.6426, allocations: 3.667 MB / 0.5633 GB, free: 3.168 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001128/0.6437, allocations: 137.7 kB / 0.5634 GB, free: 3.027 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003117/0.6468, allocations: 5.099 MB / 0.5684 GB, free: 13.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003253/0.6501, allocations: 2.466 MB / 0.5708 GB, free: 11.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002979/0.6531, allocations: 1.7 MB / 0.5725 GB, free: 9.758 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6532, allocations: 480.8 kB / 0.573 GB, free: 9.285 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/0.6561, allocations: 1.077 MB / 0.574 GB, free: 8.199 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005225/0.6613, allocations: 5.638 MB / 0.5795 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009877/0.6712, allocations: 7.537 MB / 0.5869 GB, free: 7.574 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001361/0.6713, allocations: 28 kB / 0.5869 GB, free: 7.547 MB / 458.7 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01391/0.6853, allocations: 6.292 MB / 0.593 GB, free: 1.785 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.121e-05/0.6853, allocations: 51.2 kB / 0.5931 GB, free: 1.738 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/0.6855, allocations: 100 kB / 0.5932 GB, free: 1.641 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009906/0.6865, allocations: 429.8 kB / 0.5936 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2026/0.8891, allocations: 2.095 MB / 0.5956 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/0.8932, allocations: 10.91 MB / 0.6063 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005555/0.8988, allocations: 1.073 MB / 0.6073 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002245/0.901, allocations: 396.9 kB / 0.6077 GB, free: 105.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00773/0.9088, allocations: 0.7083 MB / 0.6084 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0017/0.9105, allocations: 0.7002 MB / 0.6091 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009269/0.9197, allocations: 6.403 MB / 0.6154 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.247e-05/0.9198, allocations: 69.53 kB / 0.6154 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.9198, allocations: 1.125 kB / 0.6154 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.472e-05/0.9199, allocations: 37.81 kB / 0.6155 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06059/0.9804, allocations: 24.58 MB / 0.6395 GB, free: 98.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001249/0.9806, allocations: 86.94 kB / 0.6395 GB, free: 98.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003809/0.9844, allocations: 1.577 MB / 0.6411 GB, free: 98.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009114/0.9853, allocations: 393.6 kB / 0.6415 GB, free: 98.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004581/0.9857, allocations: 250.7 kB / 0.6417 GB, free: 98.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003449/0.9892, allocations: 10.79 MB / 0.6522 GB, free: 87.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.884e-05/0.9893, allocations: 137.3 kB / 0.6524 GB, free: 87.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/1.001, allocations: 10.82 MB / 0.6629 GB, free: 75.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003222/1.004, allocations: 1.381 MB / 0.6643 GB, free: 75.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009637/1.005, allocations: 246.8 kB / 0.6645 GB, free: 74.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003127/1.009, allocations: 0.5697 MB / 0.6651 GB, free: 74.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009119/1.009, allocations: 0.7692 MB / 0.6658 GB, free: 74.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003614/1.01, allocations: 312.5 kB / 0.6661 GB, free: 73.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002972/1.013, allocations: 1.635 MB / 0.6677 GB, free: 73 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.013, allocations: 6.625 kB / 0.6677 GB, free: 73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009305/1.022, allocations: 3.006 MB / 0.6707 GB, free: 70.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001374/1.023, allocations: 0.4911 MB / 0.6711 GB, free: 69.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008949/1.032, allocations: 5.765 MB / 0.6768 GB, free: 65.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001107/1.033, allocations: 16 kB / 0.6768 GB, free: 65.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004398/1.037, allocations: 3.31 MB / 0.68 GB, free: 63.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006465/1.043, allocations: 1.313 MB / 0.6813 GB, free: 62.56 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03192/1.075, allocations: 21.69 MB / 0.7025 GB, free: 43.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005735/1.081, allocations: 3.462 MB / 0.7059 GB, free: 40.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005462/1.086, allocations: 2.723 MB / 0.7085 GB, free: 38.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/1.088, allocations: 0.4887 MB / 0.709 GB, free: 37.74 MB / 458.7 MB Notification: Performance of SimCode: time 2.535e-06/1.088, allocations: 0 / 0.709 GB, free: 37.74 MB / 458.7 MB Notification: Performance of Templates: time 0.2643/1.352, allocations: 75.83 MB / 0.783 GB, free: 149.6 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.005311266053468]