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.001442/0.001442, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001555/0.001555, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.495/1.495, 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.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.2429/0.2429, allocations: 46.96 MB / 360.9 MB, free: 4.043 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.003055/0.003055, allocations: 67.91 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4263, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009188/0.4355, allocations: 6.813 MB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004835/0.4403, allocations: 2.286 MB / 0.57 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006623/0.441, allocations: 27.94 kB / 0.57 GB, free: 11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.4452, allocations: 1.695 MB / 0.5716 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.4475, allocations: 0.7026 MB / 0.5723 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.4501, allocations: 1.035 MB / 0.5733 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001939/0.452, allocations: 1.419 MB / 0.5747 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.4534, allocations: 0.9105 MB / 0.5756 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008289/0.4542, allocations: 0.6151 MB / 0.5762 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008681/0.4551, allocations: 0.6495 MB / 0.5769 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.4553, allocations: 112 kB / 0.577 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007682/0.456, allocations: 319.8 kB / 0.5773 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.4563, allocations: 302.8 kB / 0.5776 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005891/0.4569, allocations: 0.5366 MB / 0.5781 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.4593, allocations: 1.782 MB / 0.5798 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4593, allocations: 0 / 0.5798 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4593, allocations: 7.938 kB / 0.5798 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.4593, allocations: 0 / 0.5798 GB, free: 0.8906 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.00782/0.4672, allocations: 2.33 MB / 0.5821 GB, free: 14.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.4672, allocations: 8.031 kB / 0.5821 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.4773, allocations: 1.339 MB / 0.5834 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.4788, allocations: 0.5567 MB / 0.584 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.4789, allocations: 99.02 kB / 0.5841 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.4791, allocations: 128.4 kB / 0.5842 GB, free: 12.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.482, allocations: 1.599 MB / 0.5857 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/0.4821, allocations: 7.953 kB / 0.5857 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.4822, allocations: 56 kB / 0.5858 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.4823, allocations: 32 kB / 0.5858 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.4851, allocations: 1.501 MB / 0.5873 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008123/0.4932, allocations: 4.282 MB / 0.5915 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.4953, allocations: 1.076 MB / 0.5925 GB, free: 3.609 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.4964, allocations: 0.5437 MB / 0.5931 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.4965, allocations: 36.97 kB / 0.5931 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.4965, allocations: 47.56 kB / 0.5931 GB, free: 2.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.928e-06/0.4965, allocations: 4 kB / 0.5931 GB, free: 2.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009442/0.506, allocations: 2.99 MB / 0.5961 GB, free: 15.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.5061, allocations: 94.14 kB / 0.5962 GB, free: 15.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005932/0.5067, allocations: 421.7 kB / 0.5966 GB, free: 15.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-05/0.5067, allocations: 45.7 kB / 0.5966 GB, free: 15.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.5071, allocations: 488.8 kB / 0.5971 GB, free: 14.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004176/0.5076, allocations: 440.2 kB / 0.5975 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.5079, allocations: 218.8 kB / 0.5977 GB, free: 14.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.5082, allocations: 390.6 kB / 0.5981 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009153/0.5091, allocations: 458.4 kB / 0.5985 GB, free: 13.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.5102, allocations: 0.6958 MB / 0.5992 GB, free: 12.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.5124, allocations: 1.202 MB / 0.6004 GB, free: 11.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.5124, allocations: 4 kB / 0.6004 GB, free: 11.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003271/0.5157, allocations: 1.574 MB / 0.6019 GB, free: 9.734 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.5157, allocations: 12.39 kB / 0.6019 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.5157, allocations: 12 kB / 0.6019 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.5173, allocations: 0.5162 MB / 0.6024 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.5182, allocations: 203.7 kB / 0.6026 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002027/0.5184, allocations: 49.2 kB / 0.6027 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/0.5191, allocations: 123.1 kB / 0.6028 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.645e-05/0.5192, allocations: 55.92 kB / 0.6028 GB, free: 8.766 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.000523/0.5197, allocations: 265.6 kB / 0.6031 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.5199, allocations: 79.48 kB / 0.6032 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/0.5229, allocations: 1.544 MB / 0.6047 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.5229, allocations: 16 kB / 0.6047 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.5229, allocations: 3.938 kB / 0.6047 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.5229, allocations: 3.984 kB / 0.6047 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004582/0.5275, allocations: 2.485 MB / 0.6071 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5275, allocations: 4 kB / 0.6071 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/0.5281, allocations: 147.8 kB / 0.6073 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.5297, allocations: 0.5262 MB / 0.6078 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.023e-05/0.5297, allocations: 24 kB / 0.6078 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003132/0.5301, allocations: 60.8 kB / 0.6079 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.5301, allocations: 3.984 kB / 0.6079 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004226/0.5343, allocations: 2.318 MB / 0.6101 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/0.5348, allocations: 199.1 kB / 0.6103 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.5349, allocations: 24 kB / 0.6103 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005856/0.5355, allocations: 43.97 kB / 0.6104 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.5357, allocations: 89.03 kB / 0.6105 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/0.5358, allocations: 35.98 kB / 0.6105 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003322/0.5361, allocations: 271.2 kB / 0.6108 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5361, allocations: 4.062 kB / 0.6108 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000978/0.5371, allocations: 355.2 kB / 0.6111 GB, free: 208 kB / 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.0003014/0.5374, allocations: 163 kB / 0.6113 GB, free: 32 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003028/0.5404, allocations: 1.276 MB / 0.6125 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.5404, allocations: 4 kB / 0.6125 GB, free: 14.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.5422, allocations: 0.6852 MB / 0.6132 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.543, allocations: 104.3 kB / 0.6133 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.5467, allocations: 2.087 MB / 0.6153 GB, free: 11.85 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.5473, allocations: 458.3 kB / 0.6158 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004449/0.5477, allocations: 106.4 kB / 0.6159 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.5479, allocations: 67.41 kB / 0.6159 GB, free: 11.19 MB / 462.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5479, allocations: 0 / 0.6159 GB, free: 11.19 MB / 462.1 MB Notification: Performance of Templates: time 0.02601/0.5739, allocations: 13.55 MB / 0.6291 GB, free: 13.81 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/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: 6.0247218161821365]