Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001071/0.001071, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 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.001329/0.001329, allocations: 163.7 kB / 24.84 MB, free: 9.301 MB / 18.57 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 0.9438/0.9438, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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.1306/0.1306, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 3.938 kB / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007e-05/1.126e-05, allocations: 6.312 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.004199/0.00421, allocations: 6.587 MB / 355.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.006787, allocations: 2.124 MB / 357.6 MB, free: 432 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004987/0.007286, allocations: 23.94 kB / 357.6 MB, free: 408 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.00893, allocations: 1.571 MB / 359.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001067/0.009997, allocations: 0.7029 MB / 359.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.01087, allocations: 0.6852 MB / 360.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.01192, allocations: 1.217 MB / 361.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008391/0.01276, allocations: 0.7608 MB / 362.6 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006477/0.0134, allocations: 0.7014 MB / 363.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.01384, allocations: 490.6 kB / 363.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.01394, allocations: 100 kB / 363.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.01438, allocations: 275.6 kB / 364.1 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.01451, allocations: 262.9 kB / 364.4 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.01478, allocations: 402.9 kB / 364.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009253/0.01571, allocations: 1.015 MB / 365.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01571, allocations: 0 / 365.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01571, allocations: 0 / 365.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.01572, allocations: 0 / 365.8 MB, free: 8.195 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002336/0.01806, allocations: 1.787 MB / 367.6 MB, free: 6.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.01809, allocations: 12.03 kB / 367.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005096/0.02319, allocations: 1.756 MB / 369.4 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.02381, allocations: 0.4983 MB / 369.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.02386, allocations: 98.42 kB / 369.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.02399, allocations: 120 kB / 370.1 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008936/0.02489, allocations: 0.9315 MB / 371 MB, free: 2.844 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.02492, allocations: 7.953 kB / 371 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.816e-05/0.025, allocations: 48 kB / 371 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.02502, allocations: 32 kB / 371.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.02579, allocations: 0.6939 MB / 371.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004114/0.0299, allocations: 3.295 MB / 375.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008268/0.03073, allocations: 0.6675 MB / 375.7 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.03091, allocations: 173.6 kB / 375.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.595e-05/0.03097, allocations: 32.98 kB / 375.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.031, allocations: 46.39 kB / 376 MB, free: 13.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.134e-06/0.031, allocations: 0 / 376 MB, free: 13.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.0008376/0.03184, allocations: 0.6204 MB / 376.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.03187, allocations: 60.41 kB / 376.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.03217, allocations: 0.4941 MB / 377.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.03221, allocations: 41.7 kB / 377.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.03244, allocations: 0.5571 MB / 377.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.03261, allocations: 329.2 kB / 378.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.03281, allocations: 212.4 kB / 378.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.03296, allocations: 0.5585 MB / 378.8 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.03314, allocations: 130.5 kB / 379 MB, free: 10.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.03352, allocations: 0.5101 MB / 379.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.03414, allocations: 0.7149 MB / 380.2 MB, free: 9.148 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.03415, allocations: 4 kB / 380.2 MB, free: 9.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0008964/0.03504, allocations: 0.7773 MB / 381 MB, free: 8.352 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.03507, allocations: 8 kB / 381 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.03508, allocations: 15.88 kB / 381 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.03533, allocations: 83.97 kB / 381.1 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/0.03587, allocations: 255.6 kB / 381.3 MB, free: 7.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/0.03771, allocations: 3.473 MB / 384.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.03812, allocations: 123.1 kB / 384.9 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.03817, allocations: 39.98 kB / 385 MB, free: 4.121 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * 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.0002275/0.0384, allocations: 228.4 kB / 385.2 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.03851, allocations: 95.62 kB / 385.3 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009257/0.03943, allocations: 0.838 MB / 386.1 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.03944, allocations: 8 kB / 386.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.03944, allocations: 4 kB / 386.1 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.03945, allocations: 7.969 kB / 386.1 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.04105, allocations: 1.569 MB / 387.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.04105, allocations: 12.16 kB / 387.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.04142, allocations: 179.7 kB / 387.9 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/0.04158, allocations: 71.31 kB / 388 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.04162, allocations: 28 kB / 388 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.04309, allocations: 3.465 MB / 391.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.0431, allocations: 11.94 kB / 391.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009181/0.04402, allocations: 1.049 MB / 392.5 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.04409, allocations: 95.33 kB / 392.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.04416, allocations: 27.95 kB / 392.6 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.04442, allocations: 48.08 kB / 392.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.04451, allocations: 88.34 kB / 392.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.04454, allocations: 31.98 kB / 392.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001811/0.04473, allocations: 303 kB / 393.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04473, allocations: 3.938 kB / 393.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000636/0.04536, allocations: 327.2 kB / 393.4 MB, free: 11.09 MB / 330.7 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 (94): * Single equations (assignments): 92 * 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.0002395/0.0456, allocations: 167 kB / 393.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008816/0.04648, allocations: 0.8699 MB / 394.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.04649, allocations: 4 kB / 394.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.04695, allocations: 0.5898 MB / 395 MB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.04738, allocations: 97.81 kB / 395.1 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.04974, allocations: 1.781 MB / 396.9 MB, free: 7.371 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.04989, allocations: 181.9 kB / 397.1 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003083/0.0502, allocations: 125.9 kB / 397.2 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.05049, allocations: 218.1 kB / 397.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.05049, allocations: 0 / 397.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of Templates: time 0.01233/0.06282, allocations: 9.702 MB / 407.1 MB, free: 13.23 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5503036249428988]