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.0009065/0.0009065, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001058/0.001058, allocations: 170.8 kB / 24.91 MB, free: 9.152 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.9373/0.9373, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2428/0.2428, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.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.993e-06/1.993e-06, allocations: 0 / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.592e-05, allocations: 4.281 kB / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006917/0.006943, allocations: 7.122 MB / 332.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003915/0.01086, allocations: 2.361 MB / 334.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000623/0.01148, allocations: 27.94 kB / 334.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.0135, allocations: 1.862 MB / 336.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.01475, allocations: 0.7066 MB / 337.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009751/0.01573, allocations: 0.7383 MB / 338.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009573/0.01668, allocations: 1.287 MB / 339.3 MB, free: 9.535 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008619/0.01755, allocations: 0.9141 MB / 340.3 MB, free: 8.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006245/0.01817, allocations: 0.7444 MB / 341 MB, free: 7.844 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.01858, allocations: 0.5297 MB / 341.5 MB, free: 7.312 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.01868, allocations: 104 kB / 341.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.01912, allocations: 295.6 kB / 341.9 MB, free: 6.922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.01926, allocations: 278.9 kB / 342.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002549/0.01951, allocations: 430.8 kB / 342.6 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008475/0.02036, allocations: 1.093 MB / 343.7 MB, free: 5.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.02036, allocations: 0 / 343.7 MB, free: 5.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.02036, allocations: 3.984 kB / 343.7 MB, free: 5.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.02037, allocations: 0 / 343.7 MB, free: 5.125 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.002205/0.02258, allocations: 1.816 MB / 345.5 MB, free: 3.281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.0226, allocations: 8.031 kB / 345.5 MB, free: 3.273 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004553/0.02716, allocations: 1.76 MB / 347.3 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004272/0.02758, allocations: 347.6 kB / 347.6 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.02763, allocations: 99.03 kB / 347.7 MB, free: 1.043 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.02775, allocations: 136.3 kB / 347.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008011/0.02855, allocations: 1 MB / 348.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.02858, allocations: 11.92 kB / 348.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.02865, allocations: 56 kB / 348.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.02867, allocations: 32 kB / 349 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.02933, allocations: 0.5867 MB / 349.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/0.03273, allocations: 2.97 MB / 352.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.0334, allocations: 0.5801 MB / 353.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.03355, allocations: 149.4 kB / 353.2 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.384e-05/0.03361, allocations: 44.94 kB / 353.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.03364, allocations: 51.5 kB / 353.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 2.354e-06/0.03364, allocations: 0 / 353.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=90): time 0.0006455/0.03429, allocations: 488 kB / 353.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.03431, allocations: 68.34 kB / 353.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.03456, allocations: 426.8 kB / 354.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.0346, allocations: 41.7 kB / 354.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.03478, allocations: 0.5236 MB / 354.9 MB, free: 9.684 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.03492, allocations: 321.2 kB / 355.2 MB, free: 9.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.0351, allocations: 202.7 kB / 355.4 MB, free: 9.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.0352, allocations: 374.6 kB / 355.7 MB, free: 8.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.03542, allocations: 114.6 kB / 355.9 MB, free: 8.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.03572, allocations: 397.6 kB / 356.2 MB, free: 8.176 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.03619, allocations: 0.6044 MB / 356.8 MB, free: 7.457 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.0362, allocations: 7.938 kB / 356.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0006286/0.03683, allocations: 0.6137 MB / 357.5 MB, free: 6.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.03685, allocations: 8 kB / 357.5 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.03686, allocations: 8.906 kB / 357.5 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.03706, allocations: 73.59 kB / 357.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.03752, allocations: 251.6 kB / 357.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.03862, allocations: 2.356 MB / 360.2 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.03894, allocations: 111.4 kB / 360.3 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.03898, allocations: 47.92 kB / 360.3 MB, free: 3.797 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.000166/0.03915, allocations: 173.5 kB / 360.5 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.03923, allocations: 75.88 kB / 360.6 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000671/0.0399, allocations: 0.6878 MB / 361.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.0399, allocations: 8 kB / 361.3 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.0399, allocations: 0 / 361.3 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.03991, allocations: 7.969 kB / 361.3 MB, free: 2.805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.04121, allocations: 1.248 MB / 362.5 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.04121, allocations: 8.781 kB / 362.5 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.04154, allocations: 171.7 kB / 362.7 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/0.04168, allocations: 69.66 kB / 362.8 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.04171, allocations: 27.98 kB / 362.8 MB, free: 1.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009452/0.04265, allocations: 2.345 MB / 365.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.04266, allocations: 12.19 kB / 365.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006643/0.04332, allocations: 0.8082 MB / 365.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.04338, allocations: 75.36 kB / 366 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.04344, allocations: 24 kB / 366 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.04368, allocations: 52 kB / 366.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/0.04375, allocations: 80.41 kB / 366.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.04378, allocations: 27.94 kB / 366.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.04392, allocations: 180.7 kB / 366.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.04392, allocations: 0 / 366.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005819/0.04451, allocations: 343.1 kB / 366.7 MB, free: 12.97 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.0002272/0.04473, allocations: 156.2 kB / 366.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007154/0.04545, allocations: 0.7368 MB / 367.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-05/0.04547, allocations: 8.5 kB / 367.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.04581, allocations: 474.2 kB / 368.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.04617, allocations: 104.8 kB / 368.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.04798, allocations: 1.711 MB / 369.9 MB, free: 9.625 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.0481, allocations: 193.8 kB / 370.1 MB, free: 9.414 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002664/0.04837, allocations: 121.9 kB / 370.2 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.04863, allocations: 191.3 kB / 370.4 MB, free: 9.105 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.04863, allocations: 3.938 kB / 370.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of Templates: time 0.01221/0.06084, allocations: 9.819 MB / 380.2 MB, free: 15.41 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.115743637084961]