Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001564/0.001564, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 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.001779/0.001779, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 46.92 MB / 361.6 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 59.91 kB / 0.4974 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3407, allocations: 66.03 MB / 0.5619 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009902/0.3506, allocations: 7.815 MB / 0.5695 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005107/0.3557, allocations: 2.438 MB / 0.5719 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009305/0.3567, allocations: 31.88 kB / 0.5719 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004507/0.3612, allocations: 1.835 MB / 0.5737 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.3636, allocations: 0.7102 MB / 0.5744 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.3664, allocations: 1.086 MB / 0.5755 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002479/0.3689, allocations: 1.417 MB / 0.5768 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.3709, allocations: 0.9262 MB / 0.5777 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.3721, allocations: 0.6228 MB / 0.5783 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.3733, allocations: 0.7314 MB / 0.5791 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003704/0.3737, allocations: 112 kB / 0.5792 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.3748, allocations: 335.8 kB / 0.5795 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004547/0.3753, allocations: 298.9 kB / 0.5798 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.3765, allocations: 0.653 MB / 0.5804 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.3797, allocations: 1.77 MB / 0.5821 GB, free: 15.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3797, allocations: 0 / 0.5821 GB, free: 15.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3797, allocations: 3.938 kB / 0.5821 GB, free: 15.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.904e-05/0.3798, allocations: 0 / 0.5821 GB, free: 15.58 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008442/0.3882, allocations: 2.338 MB / 0.5844 GB, free: 13.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3883, allocations: 12.03 kB / 0.5844 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009869/0.3982, allocations: 1.335 MB / 0.5857 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.3997, allocations: 0.5606 MB / 0.5863 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.3998, allocations: 98.95 kB / 0.5864 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004297/0.4003, allocations: 128.4 kB / 0.5865 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003781/0.4041, allocations: 1.494 MB / 0.588 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.127e-05/0.4041, allocations: 3.953 kB / 0.588 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/0.4044, allocations: 55.94 kB / 0.588 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/0.4044, allocations: 39.98 kB / 0.5881 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003255/0.4077, allocations: 1.521 MB / 0.5895 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009657/0.4173, allocations: 5.049 MB / 0.5945 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.4195, allocations: 1.08 MB / 0.5955 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.4206, allocations: 0.546 MB / 0.5961 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.4207, allocations: 40.94 kB / 0.5961 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.4208, allocations: 55.55 kB / 0.5962 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.626e-06/0.4208, allocations: 0 / 0.5962 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009416/0.4302, allocations: 3.002 MB / 0.5991 GB, free: 13.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.4303, allocations: 90.11 kB / 0.5992 GB, free: 13.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/0.431, allocations: 465.9 kB / 0.5996 GB, free: 13.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.4311, allocations: 45.73 kB / 0.5997 GB, free: 13.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/0.4315, allocations: 480.9 kB / 0.6001 GB, free: 12.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004656/0.432, allocations: 440.2 kB / 0.6005 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/0.4324, allocations: 218.8 kB / 0.6008 GB, free: 12.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002214/0.4326, allocations: 382.7 kB / 0.6011 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009119/0.4335, allocations: 458.4 kB / 0.6016 GB, free: 11.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.4347, allocations: 0.7035 MB / 0.6022 GB, free: 10.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/0.4368, allocations: 1.198 MB / 0.6034 GB, free: 9.211 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.4368, allocations: 7.938 kB / 0.6034 GB, free: 9.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003291/0.4401, allocations: 1.574 MB / 0.605 GB, free: 7.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.4401, allocations: 10.34 kB / 0.605 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.4402, allocations: 16.25 kB / 0.605 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/0.4419, allocations: 0.524 MB / 0.6055 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.4427, allocations: 199.6 kB / 0.6057 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002128/0.4429, allocations: 53.27 kB / 0.6057 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/0.4437, allocations: 131 kB / 0.6059 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.4438, allocations: 51.92 kB / 0.6059 GB, free: 6.641 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005726/0.4444, allocations: 274 kB / 0.6062 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.4446, allocations: 87.48 kB / 0.6063 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003169/0.4478, allocations: 1.54 MB / 0.6078 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.4478, allocations: 19.94 kB / 0.6078 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4478, allocations: 0 / 0.6078 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.4478, allocations: 11.91 kB / 0.6078 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.4532, allocations: 2.823 MB / 0.6105 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4532, allocations: 0 / 0.6105 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/0.4539, allocations: 139.8 kB / 0.6107 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/0.4554, allocations: 0.5184 MB / 0.6112 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.243e-05/0.4555, allocations: 27.98 kB / 0.6112 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003121/0.4558, allocations: 72.73 kB / 0.6113 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4558, allocations: 0 / 0.6113 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/0.4602, allocations: 2.318 MB / 0.6135 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.4608, allocations: 219 kB / 0.6138 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.4609, allocations: 23.94 kB / 0.6138 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006802/0.4616, allocations: 43.97 kB / 0.6138 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.4618, allocations: 81.16 kB / 0.6139 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.442e-05/0.4619, allocations: 32 kB / 0.6139 GB, free: 14.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004457/0.4623, allocations: 310.9 kB / 0.6142 GB, free: 14.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4623, allocations: 4 kB / 0.6142 GB, free: 14.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001157/0.4635, allocations: 355.2 kB / 0.6146 GB, free: 13.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003842/0.4639, allocations: 159 kB / 0.6147 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003234/0.4671, allocations: 1.272 MB / 0.616 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4671, allocations: 0 / 0.616 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.4689, allocations: 0.6892 MB / 0.6166 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/0.4697, allocations: 112.1 kB / 0.6167 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/0.4741, allocations: 2.119 MB / 0.6188 GB, free: 9.273 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.4752, allocations: 1.051 MB / 0.6198 GB, free: 8.195 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.4755, allocations: 79.42 kB / 0.6199 GB, free: 8.117 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4755, allocations: 0 / 0.6199 GB, free: 8.117 MB / 462.1 MB Notification: Performance of Templates: time 0.02818/0.5037, allocations: 16.92 MB / 0.6364 GB, free: 7.172 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.73939261911437]