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.001502/0.001502, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001443/0.001443, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.458/1.458, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.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.2106/0.2106, allocations: 34.27 MB / 295.5 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 179] 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.002089/0.002089, allocations: 72.06 kB / 443.2 MB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3254, allocations: 66.01 MB / 0.4972 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.006196/0.3316, allocations: 6.812 MB / 0.5039 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.3352, allocations: 2.295 MB / 0.5061 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000486/0.3357, allocations: 30.56 kB / 0.5062 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.339, allocations: 1.769 MB / 0.5079 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.3407, allocations: 0.7101 MB / 0.5086 GB, free: 22.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.3426, allocations: 1.039 MB / 0.5096 GB, free: 21.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.3438, allocations: 1.416 MB / 0.511 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.3449, allocations: 0.9051 MB / 0.5119 GB, free: 20.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007075/0.3456, allocations: 0.6199 MB / 0.5125 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006845/0.3462, allocations: 0.6454 MB / 0.5131 GB, free: 20.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.3465, allocations: 110.6 kB / 0.5132 GB, free: 20.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009115/0.3474, allocations: 326.5 kB / 0.5135 GB, free: 19.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.3477, allocations: 301.2 kB / 0.5138 GB, free: 19.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005123/0.3482, allocations: 0.5287 MB / 0.5143 GB, free: 19.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.3505, allocations: 1.785 MB / 0.5161 GB, free: 18.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3505, allocations: 0 / 0.5161 GB, free: 18.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3505, allocations: 0 / 0.5161 GB, free: 18.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.3505, allocations: 3.938 kB / 0.5161 GB, free: 18.74 MB / 446.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.007292/0.3578, allocations: 2.338 MB / 0.5183 GB, free: 17.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3578, allocations: 8.531 kB / 0.5184 GB, free: 17.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009926/0.3678, allocations: 1.332 MB / 0.5197 GB, free: 17.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.3691, allocations: 0.5608 MB / 0.5202 GB, free: 17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-05/0.3692, allocations: 101.6 kB / 0.5203 GB, free: 16.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.3694, allocations: 129.1 kB / 0.5204 GB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.3719, allocations: 1.593 MB / 0.522 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/0.372, allocations: 6.203 kB / 0.522 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.3721, allocations: 52.16 kB / 0.522 GB, free: 16.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.3721, allocations: 40.45 kB / 0.5221 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.3746, allocations: 1.503 MB / 0.5235 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006752/0.3813, allocations: 4.283 MB / 0.5277 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.3832, allocations: 1.077 MB / 0.5288 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000877/0.384, allocations: 0.5508 MB / 0.5293 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.3842, allocations: 35.64 kB / 0.5293 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3842, allocations: 50.42 kB / 0.5294 GB, free: 12.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.246e-06/0.3842, allocations: 0 / 0.5294 GB, free: 12.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.008916/0.3931, allocations: 2.997 MB / 0.5323 GB, free: 11.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.3931, allocations: 91.86 kB / 0.5324 GB, free: 11.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004488/0.3936, allocations: 417.7 kB / 0.5328 GB, free: 10.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.3937, allocations: 46.53 kB / 0.5329 GB, free: 10.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.3939, allocations: 492 kB / 0.5333 GB, free: 10.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.3941, allocations: 438.7 kB / 0.5337 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/0.3945, allocations: 218.4 kB / 0.5339 GB, free: 9.988 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.3945, allocations: 388.7 kB / 0.5343 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007923/0.3953, allocations: 456 kB / 0.5348 GB, free: 9.457 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008842/0.3962, allocations: 0.6986 MB / 0.5354 GB, free: 8.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.3979, allocations: 1.198 MB / 0.5366 GB, free: 8.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.398, allocations: 2.344 kB / 0.5366 GB, free: 8.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002832/0.4008, allocations: 1.579 MB / 0.5381 GB, free: 7.543 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.4008, allocations: 9.219 kB / 0.5382 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.4008, allocations: 6.688 kB / 0.5382 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.4023, allocations: 0.5265 MB / 0.5387 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.4031, allocations: 196.7 kB / 0.5389 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001929/0.4033, allocations: 52.03 kB / 0.5389 GB, free: 7.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.404, allocations: 115 kB / 0.539 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.724e-05/0.4041, allocations: 61.7 kB / 0.5391 GB, free: 7.246 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.0004466/0.4045, allocations: 268.5 kB / 0.5393 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.4047, allocations: 85.38 kB / 0.5394 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.4073, allocations: 1.536 MB / 0.5409 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.4073, allocations: 13.03 kB / 0.5409 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4073, allocations: 5.578 kB / 0.5409 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.4073, allocations: 7.234 kB / 0.5409 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004101/0.4114, allocations: 2.49 MB / 0.5434 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4114, allocations: 0 / 0.5434 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.4121, allocations: 146.7 kB / 0.5435 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.4134, allocations: 0.5205 MB / 0.544 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-05/0.4135, allocations: 25 kB / 0.5441 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002946/0.4138, allocations: 63.92 kB / 0.5441 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4138, allocations: 0.9688 kB / 0.5441 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.4173, allocations: 2.321 MB / 0.5464 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/0.4178, allocations: 203.1 kB / 0.5466 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.4179, allocations: 20 kB / 0.5466 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005881/0.4185, allocations: 48.03 kB / 0.5466 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.4187, allocations: 85.09 kB / 0.5467 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.4188, allocations: 39.98 kB / 0.5468 GB, free: 2.496 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002806/0.4191, allocations: 279.1 kB / 0.547 GB, free: 2.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4191, allocations: 0 / 0.547 GB, free: 2.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001163/0.4202, allocations: 351.2 kB / 0.5474 GB, free: 1.883 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.0002948/0.4205, allocations: 163 kB / 0.5475 GB, free: 1.711 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.423, allocations: 1.277 MB / 0.5488 GB, free: 448 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.423, allocations: 4.125 kB / 0.5488 GB, free: 444 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.4246, allocations: 0.6762 MB / 0.5494 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.4253, allocations: 101.9 kB / 0.5495 GB, free: 15.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.4291, allocations: 2.079 MB / 0.5516 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.4296, allocations: 458.3 kB / 0.552 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004286/0.43, allocations: 110.4 kB / 0.5521 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.4302, allocations: 68.47 kB / 0.5522 GB, free: 12.88 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4302, allocations: 0 / 0.5522 GB, free: 12.88 MB / 462.1 MB Notification: Performance of Templates: time 0.02325/0.4535, allocations: 12.27 MB / 0.5641 GB, free: 0.7695 MB / 462.1 MB " [Timeout remaining time 660] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/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: 5.699097732896917]