Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001035/0.001035, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001255/0.001255, allocations: 161.5 kB / 25.61 MB, free: 8.578 MB / 18.57 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 0.9377/0.9377, allocations: 177.1 MB / 206 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] 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.1529/0.1529, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.7 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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.691e-05, allocations: 9.484 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.004786/0.004802, allocations: 7.09 MB / 386.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.007755, allocations: 2.26 MB / 388.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004231/0.008178, allocations: 23.94 kB / 388.7 MB, free: 14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.009881, allocations: 1.808 MB / 390.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.01091, allocations: 0.7144 MB / 391.2 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007445/0.01165, allocations: 0.7072 MB / 391.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006952/0.01235, allocations: 1.293 MB / 393.2 MB, free: 9.469 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006901/0.01304, allocations: 0.8633 MB / 394.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.01354, allocations: 0.7561 MB / 394.8 MB, free: 7.824 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.01386, allocations: 0.5103 MB / 395.3 MB, free: 7.312 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/0.01394, allocations: 104 kB / 395.4 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.01428, allocations: 299.5 kB / 395.7 MB, free: 6.918 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.702e-05/0.01438, allocations: 274.9 kB / 396 MB, free: 6.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.01458, allocations: 422.9 kB / 396.4 MB, free: 6.234 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.01528, allocations: 1.097 MB / 397.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01528, allocations: 0 / 397.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.01528, allocations: 0 / 397.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.01529, allocations: 0 / 397.5 MB, free: 5.133 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00204/0.01733, allocations: 1.897 MB / 399.4 MB, free: 3.195 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.01737, allocations: 12.03 kB / 399.4 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004496/0.02186, allocations: 1.588 MB / 401 MB, free: 1.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.02234, allocations: 0.5022 MB / 401.5 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.02238, allocations: 95.03 kB / 401.6 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.02251, allocations: 140.3 kB / 401.7 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008527/0.02336, allocations: 0.9733 MB / 402.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.02339, allocations: 7.922 kB / 402.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/0.02347, allocations: 59.94 kB / 402.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.02349, allocations: 32 kB / 402.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000772/0.02426, allocations: 0.6958 MB / 403.5 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.02823, allocations: 3.58 MB / 407.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008308/0.02906, allocations: 0.6372 MB / 407.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.02924, allocations: 179 kB / 407.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.936e-05/0.02931, allocations: 36.97 kB / 407.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.02934, allocations: 50.39 kB / 408 MB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 2.195e-06/0.02934, allocations: 0 / 408 MB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=90): time 0.0008887/0.03023, allocations: 0.6203 MB / 408.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.03026, allocations: 60.41 kB / 408.6 MB, free: 9.676 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.03059, allocations: 0.4981 MB / 409.1 MB, free: 9.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.03063, allocations: 41.7 kB / 409.2 MB, free: 9.113 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.03088, allocations: 0.596 MB / 409.8 MB, free: 8.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.03104, allocations: 325.2 kB / 410.1 MB, free: 8.188 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.03125, allocations: 216.4 kB / 410.3 MB, free: 7.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.0314, allocations: 0.5546 MB / 410.9 MB, free: 7.402 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.03166, allocations: 130.5 kB / 411 MB, free: 7.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.03214, allocations: 0.5217 MB / 411.5 MB, free: 6.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.03276, allocations: 0.7302 MB / 412.2 MB, free: 5.715 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.03276, allocations: 4 kB / 412.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001012/0.03378, allocations: 0.7972 MB / 413 MB, free: 4.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.03379, allocations: 8 kB / 413.1 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.0338, allocations: 8 kB / 413.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.03404, allocations: 87.55 kB / 413.1 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.03455, allocations: 263.5 kB / 413.4 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.03598, allocations: 3.465 MB / 416.9 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.03635, allocations: 119.1 kB / 417 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.03639, allocations: 47.98 kB / 417 MB, free: 0.6758 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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.000206/0.0366, allocations: 220.2 kB / 417.2 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.03671, allocations: 99.52 kB / 417.3 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008827/0.03759, allocations: 0.8342 MB / 418.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.0376, allocations: 19.94 kB / 418.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.0376, allocations: 3.938 kB / 418.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.03761, allocations: 3.984 kB / 418.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.03925, allocations: 1.623 MB / 419.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.03925, allocations: 8 kB / 419.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.03961, allocations: 175.7 kB / 420 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.03977, allocations: 87.61 kB / 420.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.0398, allocations: 24 kB / 420.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.04126, allocations: 3.466 MB / 423.6 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.04126, allocations: 11.94 kB / 423.6 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.0423, allocations: 1.049 MB / 424.6 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.04236, allocations: 87.44 kB / 424.7 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.04243, allocations: 31.98 kB / 424.8 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.0427, allocations: 43.98 kB / 424.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/0.04278, allocations: 84.34 kB / 424.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.04282, allocations: 31.98 kB / 424.9 MB, free: 8.215 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00017/0.04299, allocations: 303 kB / 425.2 MB, free: 7.922 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04299, allocations: 4 kB / 425.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006251/0.04362, allocations: 351.1 kB / 425.6 MB, free: 7.574 MB / 346.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 (93): * Single equations (assignments): 91 * 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.0002054/0.04382, allocations: 167 kB / 425.7 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000751/0.04457, allocations: 0.8716 MB / 426.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.04457, allocations: 0.6875 kB / 426.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.04497, allocations: 0.5945 MB / 427.2 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.04539, allocations: 115.3 kB / 427.3 MB, free: 5.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.04734, allocations: 1.786 MB / 429.1 MB, free: 3.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.04745, allocations: 181.9 kB / 429.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.04774, allocations: 125.9 kB / 429.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.04804, allocations: 230.1 kB / 429.6 MB, free: 3.27 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04804, allocations: 0 / 429.6 MB, free: 3.27 MB / 346.7 MB Notification: Performance of Templates: time 0.01286/0.0609, allocations: 10.08 MB / 439.7 MB, free: 9.316 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.3927527177147567]