Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001147/0.001147, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001269/0.001269, allocations: 165 kB / 24.99 MB, free: 8.758 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 1.092/1.092, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2527/0.2527, allocations: 32.8 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.232e-05, allocations: 6.312 kB / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006739/0.006771, allocations: 6.749 MB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004244/0.01102, allocations: 2.178 MB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.01233, allocations: 23.94 kB / 385 MB, free: 11.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.01506, allocations: 1.602 MB / 386.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.01684, allocations: 0.6912 MB / 387.2 MB, free: 9.668 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.01806, allocations: 0.7 MB / 387.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.01948, allocations: 1.198 MB / 389.1 MB, free: 7.762 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.02076, allocations: 0.7568 MB / 389.9 MB, free: 6.984 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009332/0.02169, allocations: 0.6897 MB / 390.6 MB, free: 6.293 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.02226, allocations: 474.6 kB / 391.1 MB, free: 5.828 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.0224, allocations: 96 kB / 391.1 MB, free: 5.734 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006505/0.02305, allocations: 275.6 kB / 391.4 MB, free: 5.465 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.02323, allocations: 258.9 kB / 391.7 MB, free: 5.211 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.02362, allocations: 386.9 kB / 392 MB, free: 4.832 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.0251, allocations: 1.008 MB / 393.1 MB, free: 3.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.02511, allocations: 8 kB / 393.1 MB, free: 3.812 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.02511, allocations: 0 / 393.1 MB, free: 3.812 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.02513, allocations: 0 / 393.1 MB, free: 3.812 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.00347/0.0286, allocations: 1.74 MB / 394.8 MB, free: 2.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.02864, allocations: 8.031 kB / 394.8 MB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.03898, allocations: 1.569 MB / 396.4 MB, free: 464 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.04004, allocations: 494.4 kB / 396.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/0.0401, allocations: 86.78 kB / 396.9 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.0403, allocations: 132.1 kB / 397.1 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.0419, allocations: 1.02 MB / 398.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.04194, allocations: 7.953 kB / 398.1 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.575e-05/0.04204, allocations: 48 kB / 398.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.04206, allocations: 28 kB / 398.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.04353, allocations: 0.822 MB / 399 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005241/0.04877, allocations: 3.24 MB / 402.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.04996, allocations: 0.6605 MB / 402.9 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.05031, allocations: 198.6 kB / 403.1 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.482e-05/0.05039, allocations: 44.89 kB / 403.1 MB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.05043, allocations: 46.39 kB / 403.2 MB, free: 9.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.906e-06/0.05043, allocations: 0 / 403.2 MB, free: 9.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.001469/0.0519, allocations: 0.6907 MB / 403.9 MB, free: 8.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.05193, allocations: 60.41 kB / 403.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.05243, allocations: 0.4944 MB / 404.4 MB, free: 8.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.05248, allocations: 45.7 kB / 404.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.05275, allocations: 0.5338 MB / 405 MB, free: 7.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/0.05303, allocations: 317.3 kB / 405.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.05328, allocations: 200.6 kB / 405.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.05345, allocations: 0.543 MB / 406.1 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.05381, allocations: 170.5 kB / 406.2 MB, free: 6.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.05436, allocations: 492.5 kB / 406.7 MB, free: 5.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.05544, allocations: 0.7208 MB / 407.4 MB, free: 4.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.05545, allocations: 4 kB / 407.4 MB, free: 4.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001421/0.05687, allocations: 0.8321 MB / 408.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.05689, allocations: 9.875 kB / 408.3 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.0569, allocations: 4 kB / 408.3 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.05722, allocations: 91.7 kB / 408.4 MB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006926/0.05791, allocations: 243.6 kB / 408.6 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.06005, allocations: 3.515 MB / 412.1 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.06057, allocations: 103.2 kB / 412.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/0.06063, allocations: 43.98 kB / 412.3 MB, free: 15.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0002809/0.06091, allocations: 224.3 kB / 412.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.06105, allocations: 91.62 kB / 412.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.06236, allocations: 0.8733 MB / 413.4 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.06237, allocations: 8 kB / 413.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.06237, allocations: 0 / 413.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.06238, allocations: 7.922 kB / 413.5 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.06484, allocations: 1.759 MB / 415.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.06484, allocations: 4 kB / 415.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.06534, allocations: 175.7 kB / 415.4 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002281/0.06557, allocations: 83.83 kB / 415.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.06562, allocations: 24 kB / 415.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.06768, allocations: 3.512 MB / 419 MB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.06769, allocations: 11.94 kB / 419 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.0692, allocations: 1.131 MB / 420.2 MB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.06931, allocations: 83.36 kB / 420.2 MB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.282e-05/0.06939, allocations: 24 kB / 420.3 MB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.06977, allocations: 47.97 kB / 420.3 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.0699, allocations: 80.34 kB / 420.4 MB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.06995, allocations: 36 kB / 420.4 MB, free: 7.008 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002941/0.07024, allocations: 331.1 kB / 420.7 MB, free: 6.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07024, allocations: 3.938 kB / 420.7 MB, free: 6.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008934/0.07113, allocations: 323.2 kB / 421.1 MB, free: 6.359 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 (92): * Single equations (assignments): 90 * 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.0002622/0.0714, allocations: 163 kB / 421.2 MB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.07268, allocations: 0.9135 MB / 422.1 MB, free: 5.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.07269, allocations: 9.625 kB / 422.1 MB, free: 5.234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.07329, allocations: 0.6071 MB / 422.8 MB, free: 4.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.0739, allocations: 105.6 kB / 422.9 MB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.07717, allocations: 1.72 MB / 424.6 MB, free: 2.625 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.07735, allocations: 173.8 kB / 424.7 MB, free: 2.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003935/0.07774, allocations: 117.6 kB / 424.9 MB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.07792, allocations: 72.48 kB / 424.9 MB, free: 2.242 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.07792, allocations: 0 / 424.9 MB, free: 2.242 MB / 394.7 MB Notification: Performance of Templates: time 0.01442/0.09234, allocations: 8.874 MB / 433.8 MB, free: 9.473 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7219265538733453]