Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 109.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 187.4 kB / 22.98 MB, free: 5.02 MB / 14.72 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 1.827/1.827, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.2611/0.2611, allocations: 44.24 MB / 330.2 MB, free: 9.551 MB / 270.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 68.45 kB / 467.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1713, allocations: 61.03 MB / 0.5166 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01239/0.1837, allocations: 7.805 MB / 0.5242 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00684/0.1906, allocations: 2.38 MB / 0.5265 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.1923, allocations: 27.94 kB / 0.5266 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00545/0.1978, allocations: 1.832 MB / 0.5283 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003964/0.2018, allocations: 0.8974 MB / 0.5292 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.2047, allocations: 0.8844 MB / 0.5301 GB, free: 8.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003631/0.2083, allocations: 1.448 MB / 0.5315 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.2107, allocations: 0.7749 MB / 0.5323 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.2121, allocations: 0.6189 MB / 0.5329 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.2138, allocations: 0.7509 MB / 0.5336 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004654/0.2143, allocations: 123.9 kB / 0.5337 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.2157, allocations: 335.8 kB / 0.534 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005292/0.2162, allocations: 298.9 kB / 0.5343 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.2174, allocations: 0.6724 MB / 0.535 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.2206, allocations: 1.778 MB / 0.5367 GB, free: 2.148 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2206, allocations: 0 / 0.5367 GB, free: 2.148 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2206, allocations: 0 / 0.5367 GB, free: 2.148 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.751e-05/0.2206, allocations: 0 / 0.5367 GB, free: 2.148 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.3449/0.5655, allocations: 2.356 MB / 0.539 GB, free: 27.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.5656, allocations: 10 kB / 0.539 GB, free: 27.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.5765, allocations: 1.504 MB / 0.5405 GB, free: 27.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.5777, allocations: 0.5638 MB / 0.541 GB, free: 27.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.692e-05/0.5778, allocations: 102.3 kB / 0.5411 GB, free: 27.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.578, allocations: 138.9 kB / 0.5413 GB, free: 27.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002758/0.5808, allocations: 1.527 MB / 0.5428 GB, free: 27.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/0.5808, allocations: 3.5 kB / 0.5428 GB, free: 27.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.5809, allocations: 58.94 kB / 0.5428 GB, free: 27.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/0.581, allocations: 33.7 kB / 0.5428 GB, free: 27.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/0.5836, allocations: 1.586 MB / 0.5444 GB, free: 26.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00761/0.5912, allocations: 5.105 MB / 0.5494 GB, free: 23.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.5932, allocations: 1.109 MB / 0.5505 GB, free: 23.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009581/0.5941, allocations: 0.5537 MB / 0.551 GB, free: 22.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.5943, allocations: 21.62 kB / 0.551 GB, free: 22.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.5943, allocations: 56.62 kB / 0.5511 GB, free: 22.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.046e-06/0.5943, allocations: 0 / 0.5511 GB, free: 22.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.009075/0.6034, allocations: 3.056 MB / 0.5541 GB, free: 21.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.6034, allocations: 99.34 kB / 0.5542 GB, free: 21.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/0.6041, allocations: 484.2 kB / 0.5546 GB, free: 21.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.833e-05/0.6042, allocations: 47.11 kB / 0.5547 GB, free: 21.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.6045, allocations: 495.7 kB / 0.5551 GB, free: 21.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.6048, allocations: 455.9 kB / 0.5556 GB, free: 20.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003417/0.6051, allocations: 229.1 kB / 0.5558 GB, free: 20.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6053, allocations: 383.6 kB / 0.5562 GB, free: 20.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008323/0.6061, allocations: 469.9 kB / 0.5566 GB, free: 20.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.6071, allocations: 0.7483 MB / 0.5573 GB, free: 19.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.6089, allocations: 1.256 MB / 0.5586 GB, free: 18.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.6089, allocations: 7.188 kB / 0.5586 GB, free: 18.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003006/0.612, allocations: 1.64 MB / 0.5602 GB, free: 18.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.612, allocations: 7.906 kB / 0.5602 GB, free: 18.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.612, allocations: 10.12 kB / 0.5602 GB, free: 18.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.6136, allocations: 0.5313 MB / 0.5607 GB, free: 17.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/0.6145, allocations: 211.5 kB / 0.5609 GB, free: 17.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002072/0.6147, allocations: 68.8 kB / 0.561 GB, free: 17.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007065/0.6154, allocations: 129.9 kB / 0.5611 GB, free: 17.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.692e-05/0.6155, allocations: 55.61 kB / 0.5612 GB, free: 17.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (120): * Single equations (assignments): 119 * 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.0004544/0.616, allocations: 270.8 kB / 0.5614 GB, free: 17.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.6162, allocations: 87.25 kB / 0.5615 GB, free: 17.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.6187, allocations: 1.561 MB / 0.563 GB, free: 16.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.6187, allocations: 17.22 kB / 0.563 GB, free: 16.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6187, allocations: 1.375 kB / 0.563 GB, free: 16.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.6187, allocations: 6.656 kB / 0.563 GB, free: 16.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.6235, allocations: 2.844 MB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.6235, allocations: 1.766 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00065/0.6241, allocations: 146.7 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.6254, allocations: 0.5201 MB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.6255, allocations: 26.73 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.545e-05/0.6256, allocations: 27.59 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6256, allocations: 9.062 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003489/0.6291, allocations: 2.277 MB / 0.5688 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/0.6295, allocations: 211.3 kB / 0.569 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.6296, allocations: 25.91 kB / 0.569 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/0.6301, allocations: 46.33 kB / 0.569 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.6303, allocations: 89.83 kB / 0.5691 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/0.6304, allocations: 36.44 kB / 0.5691 GB, free: 13.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003212/0.6307, allocations: 319.7 kB / 0.5695 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6307, allocations: 0 / 0.5695 GB, free: 13.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001054/0.6318, allocations: 356.6 kB / 0.5698 GB, free: 13.55 MB / 414.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 (86): * Single equations (assignments): 85 * 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.0002691/0.632, allocations: 155.3 kB / 0.5699 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.6348, allocations: 1.298 MB / 0.5712 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6348, allocations: 4.062 kB / 0.5712 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.6364, allocations: 0.6781 MB / 0.5719 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006742/0.6371, allocations: 103 kB / 0.572 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.6407, allocations: 2.136 MB / 0.5741 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.6411, allocations: 1.053 MB / 0.5751 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004308/0.6415, allocations: 114.7 kB / 0.5752 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.6417, allocations: 62.95 kB / 0.5753 GB, free: 10.28 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6417, allocations: 0 / 0.5753 GB, free: 10.28 MB / 414.1 MB Notification: Performance of Templates: time 0.02373/0.6654, allocations: 15.31 MB / 0.5902 GB, free: 13.55 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.78631723113358]