Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001173/0.001173, allocations: 91.22 kB / 20.42 MB, free: 4.145 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.001076/0.001076, allocations: 165 kB / 23.8 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.8686/0.8686, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1426/0.1426, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.871e-05, allocations: 2.312 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005918/0.005937, allocations: 7.521 MB / 355.2 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.009057, allocations: 2.306 MB / 357.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000452/0.009509, allocations: 31.94 kB / 357.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.01166, allocations: 1.921 MB / 359.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.01286, allocations: 0.7414 MB / 360.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.01429, allocations: 1.032 MB / 361.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.01553, allocations: 1.486 MB / 362.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.01658, allocations: 0.9262 MB / 363.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007632/0.01735, allocations: 0.877 MB / 364.5 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007484/0.0181, allocations: 0.5883 MB / 365.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.01825, allocations: 112 kB / 365.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005813/0.01883, allocations: 323.5 kB / 365.5 MB, free: 7.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.01902, allocations: 314.8 kB / 365.8 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.0194, allocations: 470.8 kB / 366.3 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.02066, allocations: 1.234 MB / 367.5 MB, free: 5.496 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.02066, allocations: 0 / 367.5 MB, free: 5.496 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02066, allocations: 0 / 367.5 MB, free: 5.496 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.02067, allocations: 0 / 367.5 MB, free: 5.496 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.005321/0.026, allocations: 2.49 MB / 370 MB, free: 2.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.02603, allocations: 8.031 kB / 370 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007842/0.03387, allocations: 1.842 MB / 371.9 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.0349, allocations: 0.5716 MB / 372.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.592e-05/0.03497, allocations: 103.1 kB / 372.5 MB, free: 416 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.03515, allocations: 132.4 kB / 372.7 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/0.03701, allocations: 1.294 MB / 374 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.03705, allocations: 8.125 kB / 374 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.03716, allocations: 59.94 kB / 374 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.03719, allocations: 32 kB / 374.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.03878, allocations: 0.9126 MB / 375 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008596/0.04738, allocations: 4.388 MB / 379.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.04873, allocations: 1.004 MB / 380.4 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.04928, allocations: 385.8 kB / 380.7 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.497e-05/0.04937, allocations: 36.98 kB / 380.8 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.0494, allocations: 46.39 kB / 380.8 MB, free: 7.867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 3.567e-06/0.0494, allocations: 4 kB / 380.8 MB, free: 7.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=129): time 0.01222/0.06162, allocations: 2.508 MB / 383.3 MB, free: 5.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.06167, allocations: 94.05 kB / 383.4 MB, free: 5.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.06205, allocations: 482.4 kB / 383.9 MB, free: 4.742 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/0.06211, allocations: 49.7 kB / 383.9 MB, free: 4.688 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.06237, allocations: 0.5424 MB / 384.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.06264, allocations: 448.2 kB / 384.9 MB, free: 3.695 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002959/0.06294, allocations: 236.5 kB / 385.2 MB, free: 3.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.0631, allocations: 0.5586 MB / 385.7 MB, free: 2.883 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.06356, allocations: 259.2 kB / 386 MB, free: 2.633 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/0.06424, allocations: 0.6586 MB / 386.6 MB, free: 1.816 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004271/0.06851, allocations: 0.978 MB / 387.6 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.06852, allocations: 4 kB / 387.6 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00197/0.07049, allocations: 1.255 MB / 388.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.07051, allocations: 8 kB / 388.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.07052, allocations: 8 kB / 388.9 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00408/0.0746, allocations: 429.3 kB / 389.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.07518, allocations: 211.7 kB / 389.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001403/0.07532, allocations: 68.12 kB / 389.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.07575, allocations: 131 kB / 389.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-05/0.07583, allocations: 56 kB / 389.7 MB, free: 14.52 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: 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 (120): * Single equations (assignments): 119 * 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.0002588/0.07609, allocations: 232.2 kB / 390 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.07627, allocations: 123.5 kB / 390.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004779/0.08105, allocations: 1.139 MB / 391.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.08106, allocations: 12 kB / 391.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.08107, allocations: 7.938 kB / 391.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.08108, allocations: 7.969 kB / 391.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006162/0.08724, allocations: 2.099 MB / 393.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.08725, allocations: 0 / 393.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004412/0.08769, allocations: 143.8 kB / 393.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009648/0.08865, allocations: 426.6 kB / 393.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/0.08872, allocations: 24 kB / 393.9 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.391e-05/0.08879, allocations: 31.67 kB / 394 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.08879, allocations: 0 / 394 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005543/0.09433, allocations: 1.617 MB / 395.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.09466, allocations: 207.1 kB / 395.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.09475, allocations: 23.98 kB / 395.8 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003381/0.09813, allocations: 47.92 kB / 395.9 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.09829, allocations: 81.16 kB / 395.9 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.09835, allocations: 36 kB / 396 MB, free: 8.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002395/0.09859, allocations: 295 kB / 396.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09859, allocations: 0 / 396.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009106/0.0995, allocations: 355.2 kB / 396.6 MB, free: 7.543 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 (86): * Single equations (assignments): 85 * 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.000281/0.09978, allocations: 167 kB / 396.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.1023, allocations: 0.9866 MB / 397.8 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1023, allocations: 0 / 397.8 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.1034, allocations: 0.5587 MB / 398.3 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.1038, allocations: 121.8 kB / 398.4 MB, free: 5.703 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.1064, allocations: 1.945 MB / 400.4 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.1065, allocations: 207.2 kB / 400.6 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002577/0.1068, allocations: 110.7 kB / 400.7 MB, free: 3.379 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.1069, allocations: 64.48 kB / 400.8 MB, free: 3.312 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1069, allocations: 0 / 400.8 MB, free: 3.312 MB / 330.7 MB Notification: Performance of Templates: time 0.01696/0.1239, allocations: 13.21 MB / 414 MB, free: 6.176 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.514546054881066]