Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 200.6 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000777/0.0007771, allocations: 102.7 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3344/0.3344, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002909, allocations: 11.98 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3028, allocations: 63.09 MB / 0.5214 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.00544/0.3083, allocations: 6.724 MB / 0.5279 GB, free: 33.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004319/0.3127, allocations: 3.453 MB / 0.5313 GB, free: 30.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.3133, allocations: 27.53 kB / 0.5313 GB, free: 30.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006852/0.314, allocations: 358.9 kB / 0.5317 GB, free: 30.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.3154, allocations: 0.7822 MB / 0.5324 GB, free: 29.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.3172, allocations: 1.755 MB / 0.5342 GB, free: 28.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.3184, allocations: 1.338 MB / 0.5355 GB, free: 27.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/0.3209, allocations: 2.79 MB / 0.5382 GB, free: 25.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.3215, allocations: 0.5233 MB / 0.5387 GB, free: 24.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/0.322, allocations: 0.6508 MB / 0.5393 GB, free: 24.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.862e-05/0.3221, allocations: 55.16 kB / 0.5394 GB, free: 24.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006275/0.3228, allocations: 264.5 kB / 0.5396 GB, free: 24.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.3229, allocations: 237.2 kB / 0.5399 GB, free: 24.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004235/0.3233, allocations: 0.607 MB / 0.5405 GB, free: 23.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.3249, allocations: 1.656 MB / 0.5421 GB, free: 23.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3249, allocations: 2.719 kB / 0.5421 GB, free: 23.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3249, allocations: 0 / 0.5421 GB, free: 23.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.325, allocations: 0 / 0.5421 GB, free: 23.4 MB / 378.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.006148/0.3311, allocations: 2.139 MB / 0.5442 GB, free: 22.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3312, allocations: 8.656 kB / 0.5442 GB, free: 22.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008925/0.3401, allocations: 1.402 MB / 0.5455 GB, free: 22.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.3412, allocations: 0.6006 MB / 0.5461 GB, free: 21.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.3413, allocations: 96.55 kB / 0.5462 GB, free: 21.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.3415, allocations: 134.3 kB / 0.5463 GB, free: 21.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.3441, allocations: 1.483 MB / 0.5478 GB, free: 20.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.3441, allocations: 6.172 kB / 0.5478 GB, free: 20.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.3442, allocations: 56.16 kB / 0.5479 GB, free: 20.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/0.3443, allocations: 40.77 kB / 0.5479 GB, free: 20.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/0.3468, allocations: 1.517 MB / 0.5494 GB, free: 20.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006674/0.3535, allocations: 5.654 MB / 0.5549 GB, free: 16.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.3553, allocations: 2.188 MB / 0.557 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008673/0.3562, allocations: 0.6492 MB / 0.5577 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.3563, allocations: 187.2 kB / 0.5578 GB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3564, allocations: 52.97 kB / 0.5579 GB, free: 13.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.056e-06/0.3564, allocations: 0 / 0.5579 GB, free: 13.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.008278/0.3646, allocations: 3.133 MB / 0.561 GB, free: 11.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.3647, allocations: 90.3 kB / 0.561 GB, free: 11.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005336/0.3652, allocations: 464.1 kB / 0.5615 GB, free: 11.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.46e-05/0.3653, allocations: 46.86 kB / 0.5615 GB, free: 11.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.3656, allocations: 460.6 kB / 0.562 GB, free: 11.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.3658, allocations: 427.1 kB / 0.5624 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.3659, allocations: 25.97 kB / 0.5624 GB, free: 10.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.366, allocations: 386.2 kB / 0.5628 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007536/0.3667, allocations: 463.1 kB / 0.5632 GB, free: 10.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008317/0.3676, allocations: 0.701 MB / 0.5639 GB, free: 9.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.369, allocations: 1.208 MB / 0.5651 GB, free: 8.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.3691, allocations: 0 / 0.5651 GB, free: 8.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002145/0.3712, allocations: 1.586 MB / 0.5666 GB, free: 6.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3712, allocations: 11.94 kB / 0.5666 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3713, allocations: 8 kB / 0.5666 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.3725, allocations: 0.5242 MB / 0.5672 GB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006518/0.3732, allocations: 203.7 kB / 0.5673 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005603/0.3788, allocations: 4.693 MB / 0.5719 GB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006463/0.3795, allocations: 134.8 kB / 0.5721 GB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.3796, allocations: 55.98 kB / 0.5721 GB, free: 1.148 MB / 378.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 (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 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.0003762/0.38, allocations: 262.1 kB / 0.5724 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.3801, allocations: 79.06 kB / 0.5724 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.3825, allocations: 1.582 MB / 0.574 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.3825, allocations: 15.94 kB / 0.574 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.3825, allocations: 0 / 0.574 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.3825, allocations: 7.969 kB / 0.574 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/0.3867, allocations: 2.881 MB / 0.5768 GB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3867, allocations: 4 kB / 0.5768 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.3873, allocations: 147.8 kB / 0.577 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/0.3887, allocations: 0.5188 MB / 0.5775 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/0.3888, allocations: 24 kB / 0.5775 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006859/0.3956, allocations: 4.7 MB / 0.5821 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3957, allocations: 0 / 0.5821 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/0.3996, allocations: 2.359 MB / 0.5844 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/0.4001, allocations: 283.8 kB / 0.5847 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.4002, allocations: 24 kB / 0.5847 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.4008, allocations: 56.03 kB / 0.5847 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002617/0.4011, allocations: 97.11 kB / 0.5848 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/0.4011, allocations: 39.98 kB / 0.5849 GB, free: 3.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003467/0.4015, allocations: 306.9 kB / 0.5852 GB, free: 3.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4015, allocations: 0 / 0.5852 GB, free: 3.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001252/0.4028, allocations: 415 kB / 0.5856 GB, free: 3.109 MB / 394.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.0003231/0.4031, allocations: 175 kB / 0.5857 GB, free: 2.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003368/0.4065, allocations: 1.844 MB / 0.5875 GB, free: 1.062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4065, allocations: 384 / 0.5875 GB, free: 1.062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.4087, allocations: 1.239 MB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.4094, allocations: 95.67 kB / 0.5888 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.4132, allocations: 2.669 MB / 0.5914 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/0.414, allocations: 1.076 MB / 0.5925 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005322/0.4145, allocations: 106.8 kB / 0.5926 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.4147, allocations: 67.42 kB / 0.5926 GB, free: 11.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.4147, allocations: 0 / 0.5926 GB, free: 11.72 MB / 410.7 MB Notification: Performance of Templates: time 0.02581/0.4406, allocations: 16.8 MB / 0.6091 GB, free: 10.98 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)