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.001372/0.001372, allocations: 80.8 kB / 21.49 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.001297/0.001297, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9985/0.9985, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2725/0.2725, allocations: 32.8 MB / 294.6 MB, free: 1.234 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.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 3.176e-06/3.176e-06, allocations: 3.984 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.644e-05, allocations: 5.578 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01811/0.01813, allocations: 7.391 MB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005116/0.02325, allocations: 2.446 MB / 333.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008427/0.02409, allocations: 27.94 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00266/0.02675, allocations: 1.913 MB / 335 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.02875, allocations: 0.722 MB / 335.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.03045, allocations: 1.043 MB / 336.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.03247, allocations: 1.468 MB / 338.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/0.03384, allocations: 0.9652 MB / 339.2 MB, free: 9.574 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.03502, allocations: 0.873 MB / 340.1 MB, free: 8.699 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.0358, allocations: 0.5727 MB / 340.7 MB, free: 8.125 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002631/0.03606, allocations: 112 kB / 340.8 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008165/0.03688, allocations: 339.5 kB / 341.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.03709, allocations: 306.8 kB / 341.4 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.03754, allocations: 454.8 kB / 341.9 MB, free: 6.938 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.03927, allocations: 1.237 MB / 343.1 MB, free: 5.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.03928, allocations: 0 / 343.1 MB, free: 5.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.03928, allocations: 4 kB / 343.1 MB, free: 5.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.406e-05/0.03932, allocations: 0 / 343.1 MB, free: 5.691 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.005119/0.04444, allocations: 2.513 MB / 345.6 MB, free: 3.148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.04449, allocations: 12.03 kB / 345.6 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005877/0.05037, allocations: 1.834 MB / 347.5 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000856/0.05123, allocations: 374.9 kB / 347.8 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/0.05129, allocations: 95.02 kB / 347.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.05145, allocations: 140.3 kB / 348.1 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.05274, allocations: 1.154 MB / 349.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.419e-05/0.05277, allocations: 4.172 kB / 349.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.05285, allocations: 63.92 kB / 349.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.05287, allocations: 32 kB / 349.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008057/0.05368, allocations: 0.6261 MB / 349.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004692/0.05837, allocations: 3.441 MB / 353.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008926/0.05927, allocations: 0.8511 MB / 354.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.05956, allocations: 271.6 kB / 354.5 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.05967, allocations: 44.91 kB / 354.6 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.05971, allocations: 55.55 kB / 354.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 4.258e-06/0.05971, allocations: 0 / 354.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.003828/0.06354, allocations: 2.055 MB / 356.7 MB, free: 7.824 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.0636, allocations: 94.09 kB / 356.8 MB, free: 7.715 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.06391, allocations: 391 kB / 357.1 MB, free: 7.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.06396, allocations: 45.7 kB / 357.2 MB, free: 7.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.06415, allocations: 457.5 kB / 357.6 MB, free: 6.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.06439, allocations: 440.1 kB / 358.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.06461, allocations: 222.7 kB / 358.3 MB, free: 6.152 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.06473, allocations: 382.6 kB / 358.6 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.06496, allocations: 169.4 kB / 358.8 MB, free: 5.605 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.06528, allocations: 408.5 kB / 359.2 MB, free: 5.109 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.06609, allocations: 0.708 MB / 359.9 MB, free: 4.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.06611, allocations: 7.938 kB / 359.9 MB, free: 4.297 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.00103/0.06714, allocations: 0.835 MB / 360.8 MB, free: 3.449 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.06716, allocations: 8 kB / 360.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.06718, allocations: 8 kB / 360.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007485/0.06792, allocations: 389.2 kB / 361.2 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.06836, allocations: 207.6 kB / 361.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-05/0.06846, allocations: 53.23 kB / 361.4 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.06884, allocations: 111.2 kB / 361.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/0.06889, allocations: 43.98 kB / 361.6 MB, free: 2.641 MB / 330.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.0002291/0.06912, allocations: 177.5 kB / 361.7 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.06924, allocations: 91.92 kB / 361.8 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009642/0.07021, allocations: 0.8423 MB / 362.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.07022, allocations: 12 kB / 362.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.07022, allocations: 3.938 kB / 362.7 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.07024, allocations: 7.969 kB / 362.7 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.07214, allocations: 1.454 MB / 364.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.07214, allocations: 0 / 364.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.07249, allocations: 159.8 kB / 364.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006772/0.07317, allocations: 371.3 kB / 364.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.07323, allocations: 24 kB / 364.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001375/0.07336, allocations: 73.7 kB / 364.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.07337, allocations: 3.938 kB / 364.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.07472, allocations: 1.21 MB / 366 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.07501, allocations: 127.1 kB / 366.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.07507, allocations: 24 kB / 366.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.07533, allocations: 44.02 kB / 366.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.07545, allocations: 77.16 kB / 366.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.0755, allocations: 23.98 kB / 366.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.07564, allocations: 156.6 kB / 366.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.07564, allocations: 7.938 kB / 366.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000854/0.07649, allocations: 351.2 kB / 366.8 MB, free: 13.34 MB / 346.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.0002513/0.07674, allocations: 156.2 kB / 366.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.07795, allocations: 0.7621 MB / 367.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-05/0.07798, allocations: 8.5 kB / 367.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007135/0.07869, allocations: 473.3 kB / 368.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.07914, allocations: 113.9 kB / 368.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.08204, allocations: 1.829 MB / 370.1 MB, free: 9.969 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.08218, allocations: 203.1 kB / 370.3 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002789/0.08246, allocations: 114.4 kB / 370.4 MB, free: 9.633 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.08273, allocations: 175.3 kB / 370.6 MB, free: 9.461 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.08273, allocations: 0 / 370.6 MB, free: 9.461 MB / 346.7 MB Notification: Performance of Templates: time 0.01823/0.101, allocations: 13.08 MB / 383.6 MB, free: 12.57 MB / 362.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 -s gbode -gbm=radauIIA3 -emit_protected -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.384252679068595]