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.0009283/0.0009283, 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.001116/0.001116, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.9423/0.9423, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2718/0.2718, allocations: 32.81 MB / 294.6 MB, free: 1.18 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 1.613e-06/1.613e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.041e-05, allocations: 5.297 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005915/0.005935, allocations: 7.356 MB / 330.6 MB, free: 2.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003734/0.009669, allocations: 2.442 MB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005149/0.01018, allocations: 27.94 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.01217, allocations: 1.932 MB / 335 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.01339, allocations: 0.7259 MB / 335.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.01467, allocations: 1.052 MB / 336.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.01591, allocations: 1.467 MB / 338.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.01698, allocations: 0.973 MB / 339.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008459/0.01783, allocations: 0.8652 MB / 340.1 MB, free: 8.758 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005617/0.01839, allocations: 0.5766 MB / 340.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.01853, allocations: 112 kB / 340.7 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005651/0.01909, allocations: 323.6 kB / 341.1 MB, free: 7.754 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.01925, allocations: 306.8 kB / 341.4 MB, free: 7.453 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.01958, allocations: 466.8 kB / 341.8 MB, free: 6.996 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.0208, allocations: 1.23 MB / 343 MB, free: 5.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.0208, allocations: 0 / 343 MB, free: 5.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.0208, allocations: 0 / 343 MB, free: 5.762 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.02082, allocations: 0 / 343 MB, free: 5.762 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.003875/0.0247, allocations: 2.513 MB / 345.6 MB, free: 3.219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.02473, allocations: 12.03 kB / 345.6 MB, free: 3.207 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004792/0.02953, allocations: 1.838 MB / 347.4 MB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.0301, allocations: 363 kB / 347.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.03016, allocations: 107 kB / 347.9 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.03029, allocations: 140.3 kB / 348 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.03132, allocations: 1.158 MB / 349.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.03135, allocations: 192 / 349.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.03142, allocations: 63.94 kB / 349.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.03144, allocations: 32 kB / 349.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006854/0.03213, allocations: 0.6261 MB / 349.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/0.03576, allocations: 3.441 MB / 353.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008046/0.03657, allocations: 0.8536 MB / 354.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.03683, allocations: 275.6 kB / 354.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.058e-05/0.03692, allocations: 44.91 kB / 354.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.03695, allocations: 47.56 kB / 354.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 3.266e-06/0.03695, allocations: 0 / 354.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.003554/0.04051, allocations: 2.055 MB / 356.6 MB, free: 7.887 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.04054, allocations: 90.11 kB / 356.7 MB, free: 7.781 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.04076, allocations: 394.9 kB / 357.1 MB, free: 7.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.04081, allocations: 45.7 kB / 357.1 MB, free: 7.332 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.04098, allocations: 453.5 kB / 357.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.04118, allocations: 440.1 kB / 358 MB, free: 6.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.04137, allocations: 218.7 kB / 358.2 MB, free: 6.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.04147, allocations: 382.6 kB / 358.6 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.04166, allocations: 165.4 kB / 358.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.04196, allocations: 424.5 kB / 359.1 MB, free: 5.168 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.04252, allocations: 0.6963 MB / 359.8 MB, free: 4.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.04253, allocations: 7.938 kB / 359.8 MB, free: 4.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.0008801/0.04341, allocations: 0.8427 MB / 360.7 MB, free: 3.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.04343, allocations: 8 kB / 360.7 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.04344, allocations: 8 kB / 360.7 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/0.04411, allocations: 393.2 kB / 361.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.04447, allocations: 183.7 kB / 361.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.773e-05/0.04456, allocations: 58.17 kB / 361.3 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.04485, allocations: 111.2 kB / 361.4 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.04489, allocations: 43.98 kB / 361.5 MB, free: 2.719 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.0001937/0.04508, allocations: 177.5 kB / 361.7 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.04519, allocations: 95.86 kB / 361.7 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008462/0.04604, allocations: 0.8384 MB / 362.6 MB, free: 1.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.04605, allocations: 15.98 kB / 362.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.04605, allocations: 0 / 362.6 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.04606, allocations: 11.97 kB / 362.6 MB, free: 1.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.04761, allocations: 1.452 MB / 364.1 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.04762, allocations: 0 / 364.1 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.04791, allocations: 139.9 kB / 364.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006128/0.04852, allocations: 386.5 kB / 364.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.04856, allocations: 23.98 kB / 364.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001239/0.04869, allocations: 68.78 kB / 364.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.04869, allocations: 4 kB / 364.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.04984, allocations: 1.218 MB / 365.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.05005, allocations: 119.1 kB / 366 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.05012, allocations: 28 kB / 366 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.05035, allocations: 44.02 kB / 366.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/0.05045, allocations: 81.14 kB / 366.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.05048, allocations: 20 kB / 366.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.766e-05/0.05058, allocations: 152.7 kB / 366.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05058, allocations: 0 / 366.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005668/0.05114, allocations: 359.2 kB / 366.7 MB, free: 13.43 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.0002107/0.05136, allocations: 144.9 kB / 366.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009412/0.0523, allocations: 0.7739 MB / 367.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.05231, allocations: 8.5 kB / 367.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005569/0.05286, allocations: 473.2 kB / 368.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.05323, allocations: 117.9 kB / 368.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.05526, allocations: 1.826 MB / 370 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.05538, allocations: 203.1 kB / 370.2 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.05561, allocations: 106.4 kB / 370.3 MB, free: 9.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.05585, allocations: 179.2 kB / 370.5 MB, free: 9.551 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.05585, allocations: 0 / 370.5 MB, free: 9.551 MB / 346.7 MB Notification: Performance of Templates: time 0.01604/0.07189, allocations: 13.08 MB / 383.6 MB, free: 12.66 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 -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.257425129879266]