Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.901/0.901, allocations: 177 MB / 204.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2556/0.2556, allocations: 34.87 MB / 296.3 MB, free: 0.5391 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.473e-05, allocations: 2.312 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005579/0.005594, allocations: 7.285 MB / 386.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.008625, allocations: 2.275 MB / 388.3 MB, free: 8.496 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.008988, allocations: 27.94 kB / 388.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.01126, allocations: 1.855 MB / 390.2 MB, free: 6.605 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.01239, allocations: 0.7105 MB / 390.9 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00093/0.01332, allocations: 0.7321 MB / 391.7 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.01447, allocations: 1.291 MB / 392.9 MB, free: 3.859 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008503/0.01532, allocations: 0.8555 MB / 393.8 MB, free: 2.977 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/0.01591, allocations: 0.7482 MB / 394.5 MB, free: 2.227 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.01631, allocations: 0.522 MB / 395.1 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.01641, allocations: 112 kB / 395.2 MB, free: 1.594 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.01686, allocations: 283.6 kB / 395.5 MB, free: 1.316 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.01699, allocations: 282.8 kB / 395.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.01725, allocations: 430.8 kB / 396.2 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008888/0.01814, allocations: 1.09 MB / 397.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01814, allocations: 0 / 397.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01814, allocations: 0 / 397.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.01815, allocations: 0 / 397.2 MB, free: 15.52 MB / 378.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.002556/0.02071, allocations: 1.882 MB / 399.1 MB, free: 13.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.02074, allocations: 8.031 kB / 399.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.02536, allocations: 1.584 MB / 400.7 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.0259, allocations: 0.5139 MB / 401.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.445e-05/0.02595, allocations: 95.03 kB / 401.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.02609, allocations: 144.3 kB / 401.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.02727, allocations: 1.083 MB / 402.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.0273, allocations: 7.891 kB / 402.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.02737, allocations: 63.94 kB / 402.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.02739, allocations: 32 kB / 402.6 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.02849, allocations: 0.8624 MB / 403.5 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/0.03268, allocations: 3.55 MB / 407.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/0.03358, allocations: 0.6784 MB / 407.7 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.03383, allocations: 207 kB / 407.9 MB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.427e-05/0.0339, allocations: 40.97 kB / 408 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.03392, allocations: 42.39 kB / 408 MB, free: 4.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 2.575e-06/0.03392, allocations: 4 kB / 408 MB, free: 4.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.001042/0.03497, allocations: 0.7024 MB / 408.7 MB, free: 3.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.03499, allocations: 60.41 kB / 408.8 MB, free: 3.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.03535, allocations: 0.5139 MB / 409.3 MB, free: 3.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.03538, allocations: 41.7 kB / 409.3 MB, free: 3.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.0356, allocations: 0.5883 MB / 409.9 MB, free: 2.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.03575, allocations: 325.2 kB / 410.2 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.03595, allocations: 224.5 kB / 410.5 MB, free: 1.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.03608, allocations: 0.543 MB / 411 MB, free: 1.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.03634, allocations: 178.4 kB / 411.2 MB, free: 1.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.03681, allocations: 0.553 MB / 411.7 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.03753, allocations: 0.8007 MB / 412.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.03754, allocations: 0 / 412.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001033/0.03857, allocations: 0.8755 MB / 413.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.03859, allocations: 8 kB / 413.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.0386, allocations: 12.16 kB / 413.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/0.03885, allocations: 83.3 kB / 413.5 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.03936, allocations: 259.6 kB / 413.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.0408, allocations: 3.5 MB / 417.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.04114, allocations: 127.2 kB / 417.4 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.04119, allocations: 51.92 kB / 417.4 MB, free: 10.39 MB / 394.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.0001848/0.04138, allocations: 220.3 kB / 417.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.04148, allocations: 95.58 kB / 417.8 MB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009551/0.04243, allocations: 0.885 MB / 418.6 MB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.04244, allocations: 8 kB / 418.6 MB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.04244, allocations: 4 kB / 418.6 MB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.04245, allocations: 7.984 kB / 418.7 MB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.04422, allocations: 1.799 MB / 420.5 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.04423, allocations: 12.16 kB / 420.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.04459, allocations: 179.7 kB / 420.6 MB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001667/0.04476, allocations: 79.3 kB / 420.7 MB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.0448, allocations: 28 kB / 420.7 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.0461, allocations: 3.508 MB / 424.3 MB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.0461, allocations: 4 kB / 424.3 MB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.04718, allocations: 1.135 MB / 425.4 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.04725, allocations: 83.36 kB / 425.5 MB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.04731, allocations: 27.94 kB / 425.5 MB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.04757, allocations: 56.06 kB / 425.6 MB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/0.04767, allocations: 76.41 kB / 425.6 MB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.04771, allocations: 36 kB / 425.7 MB, free: 1.566 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002277/0.04794, allocations: 343 kB / 426 MB, free: 1.234 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04794, allocations: 0 / 426 MB, free: 1.234 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006024/0.04854, allocations: 347.1 kB / 426.3 MB, free: 0.8945 MB / 394.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.0003037/0.04885, allocations: 182.8 kB / 426.5 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009399/0.04979, allocations: 0.9299 MB / 427.4 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.04979, allocations: 4 kB / 427.5 MB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.05026, allocations: 0.6243 MB / 428.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.05069, allocations: 97.83 kB / 428.2 MB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.05282, allocations: 1.809 MB / 430 MB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.05294, allocations: 181.9 kB / 430.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002895/0.05323, allocations: 129.9 kB / 430.3 MB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.05338, allocations: 72.48 kB / 430.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.05338, allocations: 0 / 430.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of Templates: time 0.0178/0.07118, allocations: 9.716 MB / 440.1 MB, free: 3.055 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.2985404608771205]