Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001191/0.001191, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001751/0.002942, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001131/0.001131, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001162/0.002292, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.073/1.073, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09599/1.169, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2654/0.2654, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02975/0.2951, allocations: 12.54 MB / 289.3 MB, free: 8.66 MB / 282.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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.087e-05, allocations: 4.906 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007352/0.007383, allocations: 7.449 MB / 298.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004907/0.01229, allocations: 2.45 MB / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.0133, allocations: 31.94 kB / 300.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.01554, allocations: 1.92 MB / 302.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.01728, allocations: 0.7258 MB / 303.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.01882, allocations: 1.037 MB / 304.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.02052, allocations: 1.451 MB / 305.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.02185, allocations: 0.8952 MB / 306.6 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.02306, allocations: 0.9112 MB / 307.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007384/0.02379, allocations: 0.5688 MB / 308 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.02399, allocations: 112 kB / 308.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007516/0.02474, allocations: 343.4 kB / 308.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.02488, allocations: 203.3 kB / 308.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.0252, allocations: 367.2 kB / 309 MB, free: 5.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.02667, allocations: 1.14 MB / 310.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.928e-05/0.02669, allocations: 4 kB / 310.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.02669, allocations: 0 / 310.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.501e-05/0.02673, allocations: 0 / 310.2 MB, free: 4.621 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.004902/0.03163, allocations: 2.853 MB / 313 MB, free: 1.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.03166, allocations: 8.031 kB / 313.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/0.03663, allocations: 1.838 MB / 314.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008785/0.0375, allocations: 370.9 kB / 315.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.03757, allocations: 99 kB / 315.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.03772, allocations: 140.3 kB / 315.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.03896, allocations: 1.158 MB / 316.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.03899, allocations: 192 / 316.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/0.03907, allocations: 59.94 kB / 316.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.03909, allocations: 32 kB / 316.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.03986, allocations: 0.63 MB / 317.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004779/0.04464, allocations: 3.449 MB / 320.8 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/0.0455, allocations: 0.8576 MB / 321.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.04579, allocations: 267.6 kB / 321.9 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.0459, allocations: 48.91 kB / 322 MB, free: 8.508 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.04594, allocations: 47.5 kB / 322 MB, free: 8.453 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 4.018e-06/0.04594, allocations: 0 / 322 MB, free: 8.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.003899/0.04984, allocations: 2.059 MB / 324.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.0499, allocations: 102 kB / 324.2 MB, free: 6.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.05023, allocations: 390.9 kB / 324.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.05028, allocations: 41.7 kB / 324.6 MB, free: 5.828 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.05051, allocations: 453.5 kB / 325 MB, free: 5.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.05078, allocations: 444.1 kB / 325.5 MB, free: 4.941 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.05099, allocations: 214.7 kB / 325.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.05113, allocations: 386.6 kB / 326.1 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.05134, allocations: 165.4 kB / 326.2 MB, free: 4.176 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.05167, allocations: 420.5 kB / 326.6 MB, free: 3.664 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009744/0.05265, allocations: 0.708 MB / 327.3 MB, free: 2.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.05265, allocations: 3.938 kB / 327.4 MB, free: 2.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.000977/0.05363, allocations: 0.8391 MB / 328.2 MB, free: 2.008 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.05366, allocations: 8 kB / 328.2 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.05368, allocations: 4 kB / 328.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007098/0.05439, allocations: 393 kB / 328.6 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.05483, allocations: 223.7 kB / 328.8 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.965e-05/0.05493, allocations: 49.27 kB / 328.9 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.05531, allocations: 115.2 kB / 329 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.05536, allocations: 36 kB / 329 MB, free: 1.191 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.000239/0.0556, allocations: 185.5 kB / 329.2 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.05572, allocations: 87.92 kB / 329.3 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009096/0.05663, allocations: 0.8375 MB / 330.1 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.05664, allocations: 20 kB / 330.1 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.05664, allocations: 0 / 330.1 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.05665, allocations: 7.969 kB / 330.1 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.05843, allocations: 1.466 MB / 331.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.05843, allocations: 0 / 331.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.05878, allocations: 163.8 kB / 331.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.05901, allocations: 123.2 kB / 331.9 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006383/0.05965, allocations: 367.3 kB / 332.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.0597, allocations: 35.98 kB / 332.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001278/0.05983, allocations: 61.72 kB / 332.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.05983, allocations: 0 / 332.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.06105, allocations: 1.222 MB / 333.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.293e-05/0.06113, allocations: 27.97 kB / 333.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.06139, allocations: 39.98 kB / 333.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.06151, allocations: 85.19 kB / 333.7 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.06154, allocations: 31.98 kB / 333.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.06166, allocations: 148.7 kB / 333.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06166, allocations: 0 / 333.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00101/0.06267, allocations: 355.2 kB / 334.2 MB, free: 11.87 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002493/0.06292, allocations: 152.2 kB / 334.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.06399, allocations: 0.7727 MB / 335.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.21e-05/0.06403, allocations: 20.44 kB / 335.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005912/0.06462, allocations: 473 kB / 335.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.06506, allocations: 181.9 kB / 335.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008823/0.07389, allocations: 1.929 MB / 337.7 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.07404, allocations: 203.2 kB / 337.9 MB, free: 8.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004028/0.07444, allocations: 102.4 kB / 338 MB, free: 7.984 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.07472, allocations: 179.3 kB / 338.2 MB, free: 7.809 MB / 330.7 MB Notification: Performance of SimCode: time 2.194e-06/0.07472, allocations: 0 / 338.2 MB, free: 7.809 MB / 330.7 MB Notification: Performance of Templates: time 0.0189/0.09363, allocations: 13.39 MB / 351.6 MB, free: 10.6 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.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.5597988422960043]