Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.001377/0.001377, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001442/0.001442, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.91 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 74.08 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3912, allocations: 65.45 MB / 0.5582 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00921/0.4004, allocations: 7.021 MB / 0.5651 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005311/0.4057, allocations: 2.287 MB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007384/0.4064, allocations: 23.94 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003734/0.4102, allocations: 1.521 MB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.4124, allocations: 0.6865 MB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.4141, allocations: 0.726 MB / 0.5702 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.4157, allocations: 1.159 MB / 0.5714 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.4169, allocations: 0.7608 MB / 0.5721 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007259/0.4177, allocations: 490.1 kB / 0.5726 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000717/0.4184, allocations: 0.599 MB / 0.5731 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.4185, allocations: 95.94 kB / 0.5732 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008998/0.4194, allocations: 291.8 kB / 0.5735 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.4197, allocations: 251 kB / 0.5738 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005689/0.4202, allocations: 0.5558 MB / 0.5743 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002/0.4222, allocations: 1.462 MB / 0.5757 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4222, allocations: 3.938 kB / 0.5757 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4222, allocations: 4 kB / 0.5757 GB, free: 5.734 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.4222, allocations: 0 / 0.5757 GB, free: 5.734 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004206/0.4265, allocations: 1.632 MB / 0.5773 GB, free: 4.066 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4265, allocations: 8.031 kB / 0.5773 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009383/0.4359, allocations: 1.265 MB / 0.5786 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.4374, allocations: 496 kB / 0.579 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.4375, allocations: 90.41 kB / 0.5791 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.4377, allocations: 120 kB / 0.5792 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/0.44, allocations: 1.153 MB / 0.5804 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.44, allocations: 0 / 0.5804 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.4402, allocations: 52 kB / 0.5804 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.4402, allocations: 31.94 kB / 0.5805 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002475/0.4427, allocations: 1.376 MB / 0.5818 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007992/0.4507, allocations: 3.866 MB / 0.5856 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.4525, allocations: 0.8066 MB / 0.5864 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/0.4531, allocations: 331.8 kB / 0.5867 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.4533, allocations: 36.94 kB / 0.5867 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.4533, allocations: 43.56 kB / 0.5868 GB, free: 10.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.445e-06/0.4533, allocations: 0 / 0.5868 GB, free: 10.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.002452/0.4558, allocations: 1.048 MB / 0.5878 GB, free: 9.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/0.4558, allocations: 64.41 kB / 0.5878 GB, free: 9.109 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.457, allocations: 0.7816 MB / 0.5886 GB, free: 8.316 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.457, allocations: 41.7 kB / 0.5886 GB, free: 8.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.4575, allocations: 476.2 kB / 0.5891 GB, free: 7.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/0.4578, allocations: 317.3 kB / 0.5894 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.4581, allocations: 194.8 kB / 0.5896 GB, free: 7.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.4584, allocations: 394.7 kB / 0.59 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.4591, allocations: 338.5 kB / 0.5903 GB, free: 6.562 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009053/0.46, allocations: 0.57 MB / 0.5908 GB, free: 5.895 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.4616, allocations: 0.9309 MB / 0.5917 GB, free: 4.871 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.4616, allocations: 4 kB / 0.5917 GB, free: 4.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002245/0.4638, allocations: 1.139 MB / 0.5929 GB, free: 3.715 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4638, allocations: 11.94 kB / 0.5929 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.4638, allocations: 8 kB / 0.5929 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/0.4642, allocations: 70.23 kB / 0.5929 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.4652, allocations: 247.6 kB / 0.5932 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.4677, allocations: 2.621 MB / 0.5957 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009071/0.4686, allocations: 146.8 kB / 0.5959 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.4687, allocations: 47.98 kB / 0.5959 GB, free: 348 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0004788/0.4692, allocations: 249.6 kB / 0.5962 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.4694, allocations: 95.44 kB / 0.5963 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.4715, allocations: 1.099 MB / 0.5973 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.4715, allocations: 8 kB / 0.5973 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4715, allocations: 0 / 0.5973 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.4715, allocations: 3.984 kB / 0.5973 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004346/0.4759, allocations: 2.349 MB / 0.5996 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.4759, allocations: 4 kB / 0.5996 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/0.4766, allocations: 183.7 kB / 0.5998 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002472/0.4769, allocations: 66.2 kB / 0.5999 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.4769, allocations: 24 kB / 0.5999 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.4794, allocations: 2.617 MB / 0.6025 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.4794, allocations: 11.94 kB / 0.6025 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.482, allocations: 1.47 MB / 0.6039 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.4824, allocations: 123.3 kB / 0.604 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.4826, allocations: 27.94 kB / 0.604 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.4833, allocations: 47.97 kB / 0.6041 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.4834, allocations: 88.34 kB / 0.6042 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/0.4836, allocations: 39.92 kB / 0.6042 GB, free: 7.344 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007894/0.4844, allocations: 0.5498 MB / 0.6048 GB, free: 6.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4844, allocations: 0 / 0.6048 GB, free: 6.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00113/0.4855, allocations: 291.6 kB / 0.605 GB, free: 6.512 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (92): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003532/0.4859, allocations: 175 kB / 0.6052 GB, free: 6.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.4878, allocations: 1.015 MB / 0.6062 GB, free: 5.289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4878, allocations: 4 kB / 0.6062 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009686/0.4888, allocations: 0.5898 MB / 0.6068 GB, free: 4.668 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.4896, allocations: 122.9 kB / 0.6069 GB, free: 4.551 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/0.4932, allocations: 1.815 MB / 0.6087 GB, free: 2.625 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008821/0.4941, allocations: 0.9883 MB / 0.6096 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.4944, allocations: 103.4 kB / 0.6097 GB, free: 1.504 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4944, allocations: 0 / 0.6097 GB, free: 1.504 MB / 446.1 MB Notification: Performance of Templates: time 0.03174/0.5262, allocations: 20.61 MB / 0.6299 GB, free: 12.87 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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: 9.155975033063442]