Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009213/0.0009214, allocations: 175 kB / 17.41 MB, free: 4.387 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.7 MB / 243.9 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008763/0.0008766, allocations: 99.94 kB / 295.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3308/0.3308, allocations: 44.32 MB / 390.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 8 kB / 463.1 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3258, allocations: 61.91 MB / 0.5127 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.005397/0.3312, allocations: 6.698 MB / 0.5193 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004818/0.3361, allocations: 3.177 MB / 0.5224 GB, free: 30.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007813/0.3369, allocations: 25.75 kB / 0.5224 GB, free: 30.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008596/0.3378, allocations: 363.7 kB / 0.5228 GB, free: 30.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.3395, allocations: 1.157 MB / 0.5239 GB, free: 29.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.3412, allocations: 1.334 MB / 0.5252 GB, free: 28.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.3424, allocations: 1.334 MB / 0.5265 GB, free: 27.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/0.345, allocations: 2.808 MB / 0.5292 GB, free: 25.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.3455, allocations: 0.5118 MB / 0.5297 GB, free: 25.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004583/0.346, allocations: 0.6449 MB / 0.5304 GB, free: 24.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.556e-05/0.3461, allocations: 54.72 kB / 0.5304 GB, free: 24.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006619/0.3468, allocations: 262.8 kB / 0.5307 GB, free: 24.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3469, allocations: 243.5 kB / 0.5309 GB, free: 24.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.3473, allocations: 0.6059 MB / 0.5315 GB, free: 24.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.3485, allocations: 1.648 MB / 0.5331 GB, free: 23.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3485, allocations: 0 / 0.5331 GB, free: 23.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3485, allocations: 0 / 0.5331 GB, free: 23.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.3485, allocations: 3 kB / 0.5331 GB, free: 23.55 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.005945/0.3545, allocations: 2.135 MB / 0.5352 GB, free: 22.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3545, allocations: 10.09 kB / 0.5352 GB, free: 22.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008791/0.3633, allocations: 1.398 MB / 0.5366 GB, free: 22.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/0.364, allocations: 0.6052 MB / 0.5372 GB, free: 21.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/0.3641, allocations: 99.77 kB / 0.5373 GB, free: 21.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.3643, allocations: 136.3 kB / 0.5374 GB, free: 21.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.3663, allocations: 1.484 MB / 0.5388 GB, free: 21.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.3664, allocations: 6.875 kB / 0.5388 GB, free: 21.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3665, allocations: 52.06 kB / 0.5389 GB, free: 21.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.3665, allocations: 31.66 kB / 0.5389 GB, free: 21.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.3686, allocations: 1.518 MB / 0.5404 GB, free: 20.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005751/0.3743, allocations: 5.419 MB / 0.5457 GB, free: 17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.3762, allocations: 2.188 MB / 0.5478 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008678/0.3771, allocations: 0.6541 MB / 0.5485 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.551e-05/0.3772, allocations: 99.27 kB / 0.5486 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3772, allocations: 52.33 kB / 0.5486 GB, free: 14.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 3.096e-06/0.3772, allocations: 0 / 0.5486 GB, free: 14.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=127): time 0.008709/0.3859, allocations: 3.135 MB / 0.5517 GB, free: 13.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.386, allocations: 91.48 kB / 0.5518 GB, free: 13.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.3866, allocations: 457.4 kB / 0.5522 GB, free: 13.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/0.3867, allocations: 51.11 kB / 0.5522 GB, free: 13.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.3869, allocations: 460.1 kB / 0.5527 GB, free: 13.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.3872, allocations: 428.2 kB / 0.5531 GB, free: 12.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.3873, allocations: 24.81 kB / 0.5531 GB, free: 12.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3874, allocations: 386.8 kB / 0.5535 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008139/0.3882, allocations: 457.8 kB / 0.5539 GB, free: 12.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.3893, allocations: 0.7056 MB / 0.5546 GB, free: 11.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.3911, allocations: 1.206 MB / 0.5558 GB, free: 10.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.3911, allocations: 2 kB / 0.5558 GB, free: 10.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002847/0.3939, allocations: 1.582 MB / 0.5573 GB, free: 10.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.394, allocations: 11.41 kB / 0.5573 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.394, allocations: 11.44 kB / 0.5574 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.3957, allocations: 0.5236 MB / 0.5579 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/0.3965, allocations: 199.2 kB / 0.5581 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0069/0.4034, allocations: 4.702 MB / 0.5627 GB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/0.4043, allocations: 132 kB / 0.5628 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.4044, allocations: 55.02 kB / 0.5628 GB, free: 6.887 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.0004334/0.4048, allocations: 265.9 kB / 0.5631 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.405, allocations: 79.31 kB / 0.5632 GB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.4076, allocations: 1.577 MB / 0.5647 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.4076, allocations: 25.14 kB / 0.5647 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4076, allocations: 1.25 kB / 0.5647 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.4077, allocations: 6.047 kB / 0.5647 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/0.4116, allocations: 2.876 MB / 0.5675 GB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.4116, allocations: 0 / 0.5675 GB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/0.4122, allocations: 151.8 kB / 0.5677 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.4135, allocations: 0.5188 MB / 0.5682 GB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-05/0.4136, allocations: 24 kB / 0.5682 GB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005991/0.4195, allocations: 4.692 MB / 0.5728 GB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4196, allocations: 3.938 kB / 0.5728 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/0.4233, allocations: 2.343 MB / 0.5751 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.4237, allocations: 287.9 kB / 0.5754 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.4238, allocations: 20 kB / 0.5754 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.4244, allocations: 55.97 kB / 0.5754 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/0.4246, allocations: 105.2 kB / 0.5755 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-05/0.4247, allocations: 35.98 kB / 0.5756 GB, free: 11.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003508/0.4251, allocations: 306.9 kB / 0.5759 GB, free: 11.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4251, allocations: 3.938 kB / 0.5759 GB, free: 11.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001167/0.4262, allocations: 415 kB / 0.5763 GB, free: 10.74 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.0002618/0.4265, allocations: 163.1 kB / 0.5764 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003342/0.4299, allocations: 1.843 MB / 0.5782 GB, free: 8.711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4299, allocations: 1.312 kB / 0.5782 GB, free: 8.711 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.432, allocations: 1.243 MB / 0.5794 GB, free: 7.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006845/0.4327, allocations: 106.4 kB / 0.5795 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.4361, allocations: 2.644 MB / 0.5821 GB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/0.4367, allocations: 1.076 MB / 0.5832 GB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005079/0.4373, allocations: 110.8 kB / 0.5833 GB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.4374, allocations: 59.42 kB / 0.5833 GB, free: 3.391 MB / 394.7 MB Notification: Performance of SimCode: time 4.5e-07/0.4375, allocations: 0 / 0.5833 GB, free: 3.391 MB / 394.7 MB Notification: Performance of Templates: time 0.02718/0.4646, allocations: 16.76 MB / 0.5997 GB, free: 2.688 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)