Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002061/0.002061, allocations: 215.3 kB / 23 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2881/0.2881, allocations: 46.9 MB / 359.4 MB, free: 4.887 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003014/0.003014, allocations: 79.86 kB / 0.4946 GB, free: 8.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3995, allocations: 65.99 MB / 0.5591 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01066/0.4102, allocations: 7.805 MB / 0.5667 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00528/0.4155, allocations: 2.446 MB / 0.5691 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008624/0.4163, allocations: 31.88 kB / 0.5691 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004284/0.4206, allocations: 1.811 MB / 0.5709 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.423, allocations: 0.7171 MB / 0.5716 GB, free: 8.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.4257, allocations: 1.085 MB / 0.5727 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002554/0.4282, allocations: 1.409 MB / 0.574 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.4296, allocations: 0.7704 MB / 0.5748 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008811/0.4305, allocations: 0.615 MB / 0.5754 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.4316, allocations: 0.7237 MB / 0.5761 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.4318, allocations: 112 kB / 0.5762 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009149/0.4327, allocations: 339.8 kB / 0.5765 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.433, allocations: 302.8 kB / 0.5768 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006884/0.4337, allocations: 0.653 MB / 0.5774 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002741/0.4364, allocations: 1.769 MB / 0.5792 GB, free: 412 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4364, allocations: 0 / 0.5792 GB, free: 412 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4364, allocations: 0 / 0.5792 GB, free: 412 kB / 414.1 MB Notification: Performance of Transformations before backend: time 3.493e-05/0.4364, allocations: 0 / 0.5792 GB, free: 412 kB / 414.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.008046/0.4445, allocations: 2.417 MB / 0.5815 GB, free: 13.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4445, allocations: 11.97 kB / 0.5815 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009723/0.4543, allocations: 1.331 MB / 0.5828 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.4558, allocations: 0.621 MB / 0.5834 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.4559, allocations: 103 kB / 0.5835 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/0.4563, allocations: 128.3 kB / 0.5837 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/0.4593, allocations: 1.494 MB / 0.5851 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.082e-05/0.4594, allocations: 7.953 kB / 0.5851 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.4595, allocations: 56 kB / 0.5852 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.4595, allocations: 36 kB / 0.5852 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.4629, allocations: 1.521 MB / 0.5867 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/0.473, allocations: 5.612 MB / 0.5922 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.4761, allocations: 2.05 MB / 0.5942 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.4772, allocations: 0.5382 MB / 0.5947 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.4775, allocations: 199.2 kB / 0.5949 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.4775, allocations: 51.55 kB / 0.595 GB, free: 15.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.296e-06/0.4775, allocations: 0 / 0.595 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.00943/0.4869, allocations: 3.083 MB / 0.598 GB, free: 12.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.4871, allocations: 90.11 kB / 0.5981 GB, free: 12.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006518/0.4877, allocations: 465.9 kB / 0.5985 GB, free: 11.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.058e-05/0.4878, allocations: 45.7 kB / 0.5985 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.4883, allocations: 476.9 kB / 0.599 GB, free: 11.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.4887, allocations: 444.1 kB / 0.5994 GB, free: 10.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003931/0.4891, allocations: 218.9 kB / 0.5996 GB, free: 10.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.4893, allocations: 386.7 kB / 0.6 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008963/0.4902, allocations: 462.4 kB / 0.6004 GB, free: 9.762 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.4915, allocations: 0.6958 MB / 0.6011 GB, free: 8.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/0.4937, allocations: 1.198 MB / 0.6023 GB, free: 7.684 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.4937, allocations: 7.938 kB / 0.6023 GB, free: 7.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003378/0.4971, allocations: 1.578 MB / 0.6038 GB, free: 6.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4971, allocations: 8 kB / 0.6038 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.4971, allocations: 8 kB / 0.6038 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.4989, allocations: 0.5243 MB / 0.6044 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/0.4997, allocations: 199.7 kB / 0.6046 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000191/0.4999, allocations: 53.19 kB / 0.6046 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/0.5006, allocations: 127.1 kB / 0.6047 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.5007, allocations: 55.98 kB / 0.6048 GB, free: 5.117 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.0005426/0.5013, allocations: 265 kB / 0.605 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.5014, allocations: 83.48 kB / 0.6051 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/0.5047, allocations: 1.544 MB / 0.6066 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/0.5048, allocations: 27.88 kB / 0.6066 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5048, allocations: 4 kB / 0.6066 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.5048, allocations: 7.969 kB / 0.6067 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005713/0.5105, allocations: 2.848 MB / 0.6094 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/0.5105, allocations: 3.938 kB / 0.6094 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/0.5112, allocations: 143.8 kB / 0.6096 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/0.5128, allocations: 0.5222 MB / 0.6101 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.513, allocations: 27.98 kB / 0.6101 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003062/0.5133, allocations: 68.73 kB / 0.6102 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5133, allocations: 4 kB / 0.6102 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00493/0.5182, allocations: 2.31 MB / 0.6124 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.5188, allocations: 284.2 kB / 0.6127 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.5189, allocations: 27.94 kB / 0.6127 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006019/0.5195, allocations: 48.03 kB / 0.6128 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.5197, allocations: 81.14 kB / 0.6129 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.033e-05/0.5198, allocations: 35.98 kB / 0.6129 GB, free: 12.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004307/0.5202, allocations: 310.9 kB / 0.6132 GB, free: 12.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5202, allocations: 0 / 0.6132 GB, free: 12.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00144/0.5216, allocations: 351.2 kB / 0.6135 GB, free: 12.02 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.0004915/0.5221, allocations: 163 kB / 0.6137 GB, free: 11.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003126/0.5253, allocations: 1.272 MB / 0.6149 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5253, allocations: 0 / 0.6149 GB, free: 10.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.5271, allocations: 0.6849 MB / 0.6156 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.5279, allocations: 110.9 kB / 0.6157 GB, free: 9.793 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.5321, allocations: 2.085 MB / 0.6177 GB, free: 7.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.5334, allocations: 1.044 MB / 0.6188 GB, free: 6.609 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004863/0.5338, allocations: 114.8 kB / 0.6189 GB, free: 6.492 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.534, allocations: 71.42 kB / 0.6189 GB, free: 6.422 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.534, allocations: 0 / 0.6189 GB, free: 6.422 MB / 462.1 MB Notification: Performance of Templates: time 0.02802/0.5621, allocations: 14.91 MB / 0.6335 GB, free: 7.582 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.234322893433273]