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.002402/0.002402, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002224/0.002224, allocations: 169.2 kB / 23.53 MB, free: 0.8984 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 1.579/1.579, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2181/0.2181, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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 2.424e-06/2.424e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.815e-05/5.058e-05, allocations: 6.25 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01274/0.01279, allocations: 6.671 MB / 353.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007382/0.02017, allocations: 2.132 MB / 355.7 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.02232, allocations: 23.94 kB / 355.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006701/0.02902, allocations: 1.602 MB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003172/0.0322, allocations: 0.7029 MB / 358.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.03437, allocations: 0.7013 MB / 358.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.03705, allocations: 1.221 MB / 360 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.03897, allocations: 0.7686 MB / 360.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.04068, allocations: 0.6898 MB / 361.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.04182, allocations: 494.5 kB / 361.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004183/0.04223, allocations: 96 kB / 362 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.04355, allocations: 283.6 kB / 362.3 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004265/0.04398, allocations: 258.9 kB / 362.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000981/0.04496, allocations: 398.9 kB / 362.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003133/0.04809, allocations: 1.499 MB / 364.4 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.0481, allocations: 4 kB / 364.5 MB, free: 8.199 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.04811, allocations: 0 / 364.5 MB, free: 8.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.487e-05/0.04818, allocations: 0 / 364.5 MB, free: 8.199 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.006183/0.05436, allocations: 1.834 MB / 366.3 MB, free: 6.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.05442, allocations: 12.03 kB / 366.3 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.06534, allocations: 1.764 MB / 368.1 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.06717, allocations: 0.4944 MB / 368.6 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.06729, allocations: 98.36 kB / 368.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.06755, allocations: 128 kB / 368.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.07039, allocations: 1.321 MB / 370.1 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.614e-05/0.07045, allocations: 7.953 kB / 370.1 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.07059, allocations: 48 kB / 370.2 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.07063, allocations: 32 kB / 370.2 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/0.07357, allocations: 1.388 MB / 371.6 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009406/0.08298, allocations: 3.865 MB / 375.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.08503, allocations: 0.8435 MB / 376.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.08567, allocations: 342.5 kB / 376.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.08578, allocations: 24.98 kB / 376.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/0.08584, allocations: 46.39 kB / 376.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 2.976e-06/0.08584, allocations: 0 / 376.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.002477/0.08832, allocations: 1.027 MB / 377.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.08839, allocations: 64.39 kB / 377.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/0.08927, allocations: 0.6038 MB / 378.4 MB, free: 9.973 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.08934, allocations: 41.7 kB / 378.4 MB, free: 9.926 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005277/0.08987, allocations: 0.5728 MB / 379 MB, free: 9.344 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.09023, allocations: 345.2 kB / 379.3 MB, free: 9.004 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/0.09066, allocations: 228.5 kB / 379.6 MB, free: 8.773 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004121/0.09107, allocations: 0.582 MB / 380.1 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.09175, allocations: 322.5 kB / 380.4 MB, free: 7.863 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.09292, allocations: 0.7096 MB / 381.2 MB, free: 7.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.09484, allocations: 1.086 MB / 382.2 MB, free: 5.766 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.09486, allocations: 4 kB / 382.2 MB, free: 5.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00254/0.0974, allocations: 1.168 MB / 383.4 MB, free: 4.578 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.09743, allocations: 8.156 kB / 383.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.09745, allocations: 15.94 kB / 383.4 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004914/0.09794, allocations: 87.31 kB / 383.5 MB, free: 4.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.09904, allocations: 259.6 kB / 383.8 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004127/0.1032, allocations: 3.632 MB / 387.4 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.1042, allocations: 119.2 kB / 387.5 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.186e-05/0.1043, allocations: 47.98 kB / 387.6 MB, free: 168 kB / 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.0006317/0.1049, allocations: 296.3 kB / 387.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.1052, allocations: 99.56 kB / 388 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.1074, allocations: 1.151 MB / 389.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.1074, allocations: 15.98 kB / 389.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1074, allocations: 0 / 389.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.1074, allocations: 11.97 kB / 389.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/0.1118, allocations: 2.318 MB / 391.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.1118, allocations: 8 kB / 391.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007696/0.1126, allocations: 175.8 kB / 391.6 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003812/0.113, allocations: 95.75 kB / 391.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.113, allocations: 27.98 kB / 391.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003324/0.1163, allocations: 3.632 MB / 395.4 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/0.1164, allocations: 11.94 kB / 395.4 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/0.1193, allocations: 1.549 MB / 397 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.1195, allocations: 87.34 kB / 397 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.1196, allocations: 27.98 kB / 397.1 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006238/0.1202, allocations: 55.97 kB / 397.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.1204, allocations: 76.41 kB / 397.2 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/0.1205, allocations: 40.03 kB / 397.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006029/0.1211, allocations: 407 kB / 397.6 MB, free: 5.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1211, allocations: 0 / 397.6 MB, free: 5.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001292/0.1224, allocations: 331.2 kB / 398 MB, free: 5.191 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.0003944/0.1228, allocations: 166.9 kB / 398.1 MB, free: 5.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.1251, allocations: 1.203 MB / 399.3 MB, free: 3.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.1251, allocations: 0 / 399.3 MB, free: 3.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.1263, allocations: 0.7358 MB / 400.1 MB, free: 3.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007179/0.127, allocations: 107.1 kB / 400.2 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.1312, allocations: 1.875 MB / 402 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005785/0.1318, allocations: 410.4 kB / 402.4 MB, free: 468 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005568/0.1323, allocations: 121.9 kB / 402.6 MB, free: 344 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.1326, allocations: 68.48 kB / 402.6 MB, free: 272 kB / 330.7 MB Notification: Performance of SimCode: time 2.725e-06/0.1326, allocations: 0 / 402.6 MB, free: 272 kB / 330.7 MB Notification: Performance of Templates: time 0.02013/0.1527, allocations: 8.657 MB / 411.3 MB, free: 7.699 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.771474382956512]