Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001412/0.001412, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001489/0.001489, allocations: 209.5 kB / 23.73 MB, free: 4.387 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2384/0.2384, allocations: 44.94 MB / 358.8 MB, free: 6.148 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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [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.002236/0.002236, allocations: 67.91 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3828, allocations: 65.47 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009665/0.3925, allocations: 6.817 MB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005325/0.3978, allocations: 2.298 MB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.399, allocations: 27.94 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004366/0.4034, allocations: 1.688 MB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.4057, allocations: 0.6946 MB / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.4083, allocations: 1.039 MB / 0.5697 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002102/0.4104, allocations: 1.413 MB / 0.5711 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.4118, allocations: 0.9067 MB / 0.572 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008848/0.4127, allocations: 0.6228 MB / 0.5726 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008152/0.4135, allocations: 0.6456 MB / 0.5732 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.4137, allocations: 116 kB / 0.5733 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008075/0.4145, allocations: 323.8 kB / 0.5736 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.4148, allocations: 302.9 kB / 0.5739 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006084/0.4154, allocations: 0.5288 MB / 0.5745 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00253/0.418, allocations: 1.781 MB / 0.5762 GB, free: 4.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.418, allocations: 0 / 0.5762 GB, free: 4.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.418, allocations: 0 / 0.5762 GB, free: 4.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.588e-05/0.418, allocations: 4 kB / 0.5762 GB, free: 4.191 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.008381/0.4264, allocations: 2.342 MB / 0.5785 GB, free: 1.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.4264, allocations: 12.03 kB / 0.5785 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.4366, allocations: 1.331 MB / 0.5798 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.438, allocations: 0.5568 MB / 0.5803 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.4381, allocations: 103 kB / 0.5804 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.4383, allocations: 124.4 kB / 0.5806 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002867/0.4412, allocations: 1.599 MB / 0.5821 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.577e-05/0.4412, allocations: 7.953 kB / 0.5821 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.4414, allocations: 56 kB / 0.5822 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.4414, allocations: 35.94 kB / 0.5822 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/0.4443, allocations: 1.501 MB / 0.5837 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008453/0.4528, allocations: 4.27 MB / 0.5878 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.455, allocations: 1.084 MB / 0.5889 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.4561, allocations: 0.5421 MB / 0.5894 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.4562, allocations: 32.97 kB / 0.5895 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.4563, allocations: 47.56 kB / 0.5895 GB, free: 6.262 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.707e-06/0.4563, allocations: 0 / 0.5895 GB, free: 6.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009718/0.466, allocations: 3.002 MB / 0.5924 GB, free: 3.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.4661, allocations: 90.11 kB / 0.5925 GB, free: 3.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.4666, allocations: 425.7 kB / 0.5929 GB, free: 2.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.4667, allocations: 45.7 kB / 0.593 GB, free: 2.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.4671, allocations: 492.8 kB / 0.5935 GB, free: 2.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.4675, allocations: 436.2 kB / 0.5939 GB, free: 1.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/0.4679, allocations: 226.8 kB / 0.5941 GB, free: 1.523 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.4681, allocations: 378.7 kB / 0.5944 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009937/0.4691, allocations: 454.4 kB / 0.5949 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.4703, allocations: 0.7036 MB / 0.5956 GB, free: 15.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.4725, allocations: 1.198 MB / 0.5967 GB, free: 14.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.4725, allocations: 4 kB / 0.5967 GB, free: 14.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003177/0.4756, allocations: 1.578 MB / 0.5983 GB, free: 13.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4757, allocations: 8 kB / 0.5983 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.4757, allocations: 8.281 kB / 0.5983 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.4773, allocations: 0.524 MB / 0.5988 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/0.4781, allocations: 199.7 kB / 0.599 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000196/0.4783, allocations: 53.2 kB / 0.599 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.479, allocations: 115.2 kB / 0.5992 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.4791, allocations: 55.92 kB / 0.5992 GB, free: 12.06 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.0004818/0.4796, allocations: 269.5 kB / 0.5995 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4797, allocations: 79.48 kB / 0.5995 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/0.4828, allocations: 1.54 MB / 0.601 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.4828, allocations: 12 kB / 0.6011 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.4828, allocations: 7.938 kB / 0.6011 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.4829, allocations: 11.97 kB / 0.6011 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00474/0.4876, allocations: 2.492 MB / 0.6035 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4876, allocations: 4.031 kB / 0.6035 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/0.4883, allocations: 139.8 kB / 0.6036 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/0.4898, allocations: 0.5184 MB / 0.6042 GB, free: 6.922 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.909e-05/0.4899, allocations: 27.98 kB / 0.6042 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003249/0.4902, allocations: 64.8 kB / 0.6042 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4902, allocations: 4 kB / 0.6042 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004467/0.4947, allocations: 2.322 MB / 0.6065 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005986/0.4953, allocations: 199 kB / 0.6067 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.4954, allocations: 24 kB / 0.6067 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/0.496, allocations: 47.97 kB / 0.6068 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.4962, allocations: 81.09 kB / 0.6069 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.4963, allocations: 36 kB / 0.6069 GB, free: 4.102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003819/0.4967, allocations: 271.1 kB / 0.6071 GB, free: 3.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4967, allocations: 0 / 0.6071 GB, free: 3.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001168/0.4978, allocations: 359.2 kB / 0.6075 GB, free: 3.488 MB / 446.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.000366/0.4982, allocations: 159 kB / 0.6076 GB, free: 3.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00327/0.5015, allocations: 1.276 MB / 0.6089 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5015, allocations: 0 / 0.6089 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.5033, allocations: 0.6814 MB / 0.6095 GB, free: 1.367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.5041, allocations: 113.8 kB / 0.6097 GB, free: 1.258 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.5086, allocations: 2.09 MB / 0.6117 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.5092, allocations: 454.3 kB / 0.6121 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005216/0.5097, allocations: 106.4 kB / 0.6122 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.5099, allocations: 63.42 kB / 0.6123 GB, free: 14.48 MB / 462.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5099, allocations: 4 kB / 0.6123 GB, free: 14.48 MB / 462.1 MB Notification: Performance of Templates: time 0.02672/0.5366, allocations: 13.55 MB / 0.6255 GB, free: 1.102 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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: 5.822650635614991]