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.001037/0.001037, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009561/0.0009561, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9686/0.9686, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1487/0.1487, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.884e-06/1.884e-06, allocations: 0 / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.683e-05, allocations: 4.281 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00475/0.004777, allocations: 6.741 MB / 354.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.007902, allocations: 2.143 MB / 356.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005144/0.008416, allocations: 27.94 kB / 356.6 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.01033, allocations: 1.613 MB / 358.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.01169, allocations: 0.699 MB / 358.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009793/0.01267, allocations: 0.697 MB / 359.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.01388, allocations: 1.225 MB / 360.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009731/0.01485, allocations: 0.7646 MB / 361.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007533/0.0156, allocations: 0.6976 MB / 362.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004936/0.0161, allocations: 490.5 kB / 362.7 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.01623, allocations: 96 kB / 362.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.0168, allocations: 279.6 kB / 363.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.01693, allocations: 258.9 kB / 363.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.01724, allocations: 406.9 kB / 363.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.01835, allocations: 1.008 MB / 364.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.01836, allocations: 0 / 364.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01836, allocations: 0 / 364.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.01839, allocations: 0 / 364.8 MB, free: 8.25 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.002738/0.02113, allocations: 1.772 MB / 366.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.02118, allocations: 12.03 kB / 366.6 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005177/0.02635, allocations: 1.768 MB / 368.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008721/0.02723, allocations: 0.4944 MB / 368.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/0.02729, allocations: 94.42 kB / 368.9 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.02746, allocations: 124 kB / 369 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.02883, allocations: 1.045 MB / 370.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.02886, allocations: 7.953 kB / 370.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.566e-05/0.02896, allocations: 55.98 kB / 370.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.02898, allocations: 32 kB / 370.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.03012, allocations: 0.8498 MB / 371 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004598/0.03472, allocations: 3.264 MB / 374.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009622/0.03568, allocations: 0.7144 MB / 375 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.03595, allocations: 209.6 kB / 375.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.787e-05/0.03601, allocations: 24.98 kB / 375.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.03605, allocations: 46.39 kB / 375.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 3.967e-06/0.03606, allocations: 0 / 375.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.001091/0.03715, allocations: 0.6985 MB / 376 MB, free: 12.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.03718, allocations: 68.41 kB / 376 MB, free: 12.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.03755, allocations: 0.4983 MB / 376.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.03759, allocations: 41.7 kB / 376.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005275/0.03812, allocations: 0.5611 MB / 377.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.03829, allocations: 325.2 kB / 377.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.0385, allocations: 208.5 kB / 377.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.03865, allocations: 0.5469 MB / 378.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.03891, allocations: 174.5 kB / 378.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.03933, allocations: 0.5415 MB / 378.9 MB, free: 9.621 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007251/0.04006, allocations: 0.7775 MB / 379.7 MB, free: 8.691 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.04007, allocations: 4 kB / 379.7 MB, free: 8.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001058/0.04112, allocations: 0.8674 MB / 380.6 MB, free: 7.805 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.04115, allocations: 8 kB / 380.6 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.04116, allocations: 15.88 kB / 380.6 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.04143, allocations: 83.72 kB / 380.7 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.04195, allocations: 255.6 kB / 380.9 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.04377, allocations: 3.523 MB / 384.4 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.04421, allocations: 119.1 kB / 384.6 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.04428, allocations: 44 kB / 384.6 MB, free: 3.508 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.0002933/0.04457, allocations: 220.3 kB / 384.8 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.04471, allocations: 95.75 kB / 384.9 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.04594, allocations: 0.8852 MB / 385.8 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.04595, allocations: 12 kB / 385.8 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.04595, allocations: 0 / 385.8 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.04596, allocations: 3.984 kB / 385.8 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.04832, allocations: 1.74 MB / 387.6 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.04833, allocations: 8.719 kB / 387.6 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005/0.04883, allocations: 179.7 kB / 387.7 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.04906, allocations: 79.25 kB / 387.8 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.04911, allocations: 28 kB / 387.8 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007971/0.05708, allocations: 3.515 MB / 391.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.05709, allocations: 11.94 kB / 391.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.05858, allocations: 1.132 MB / 392.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.05871, allocations: 87.36 kB / 392.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-05/0.0588, allocations: 31.94 kB / 392.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.05919, allocations: 52.02 kB / 392.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.05934, allocations: 84.34 kB / 392.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.05939, allocations: 32 kB / 392.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000318/0.05971, allocations: 335 kB / 393.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05971, allocations: 0 / 393.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009179/0.06063, allocations: 327.2 kB / 393.4 MB, free: 10.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.0002671/0.06089, allocations: 163 kB / 393.6 MB, free: 9.922 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01336/0.07426, allocations: 0.9341 MB / 394.5 MB, free: 8.961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.07427, allocations: 4.062 kB / 394.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.07492, allocations: 0.6077 MB / 395.1 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.07557, allocations: 109.8 kB / 395.2 MB, free: 8.203 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.09047, allocations: 1.797 MB / 397 MB, free: 6.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.09062, allocations: 181.9 kB / 397.2 MB, free: 6.062 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004233/0.09105, allocations: 125.9 kB / 397.3 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.09124, allocations: 68.48 kB / 397.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of SimCode: time 1.683e-06/0.09124, allocations: 0 / 397.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of Templates: time 0.04336/0.1346, allocations: 9.328 MB / 406.7 MB, free: 12.63 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.6195132420398295]