Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/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(OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 180.8 kB / 15.43 MB, free: 5.77 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.399/1.399, allocations: 225.7 MB / 241.9 MB, free: 376 kB / 186.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.001068/0.001068, allocations: 97.12 kB / 293.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1701/0.1702, allocations: 43.18 MB / 387.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003069, allocations: 8.562 kB / 458.6 MB, free: 55.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1064, allocations: 60.5 MB / 0.5069 GB, free: 10.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.002828/0.1093, allocations: 2.628 MB / 0.5095 GB, free: 8.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1113, allocations: 1.218 MB / 0.5107 GB, free: 6.941 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.1116, allocations: 4 kB / 0.5107 GB, free: 6.938 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.1119, allocations: 79.58 kB / 0.5107 GB, free: 6.859 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.1123, allocations: 119.2 kB / 0.5109 GB, free: 6.742 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.1133, allocations: 0.8091 MB / 0.5116 GB, free: 5.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006126/0.114, allocations: 486.1 kB / 0.5121 GB, free: 5.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.1142, allocations: 81.38 kB / 0.5122 GB, free: 5.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.1145, allocations: 187.1 kB / 0.5124 GB, free: 5.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.1148, allocations: 258.8 kB / 0.5126 GB, free: 4.836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.1149, allocations: 20 kB / 0.5126 GB, free: 4.816 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.1151, allocations: 79.91 kB / 0.5127 GB, free: 4.738 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.351e-05/0.1152, allocations: 91.53 kB / 0.5128 GB, free: 4.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.1154, allocations: 224.5 kB / 0.513 GB, free: 4.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.116, allocations: 0.5332 MB / 0.5135 GB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.116, allocations: 0 / 0.5135 GB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.116, allocations: 0 / 0.5135 GB, free: 3.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.116, allocations: 0 / 0.5135 GB, free: 3.887 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002999/0.119, allocations: 1.068 MB / 0.5146 GB, free: 2.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.119, allocations: 8.031 kB / 0.5146 GB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.1206, allocations: 272.1 kB / 0.5148 GB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.1211, allocations: 406.1 kB / 0.5152 GB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.1213, allocations: 92.08 kB / 0.5153 GB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.1213, allocations: 28 kB / 0.5153 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008256/0.1222, allocations: 416.7 kB / 0.5157 GB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1222, allocations: 0 / 0.5157 GB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.1222, allocations: 16 kB / 0.5158 GB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1222, allocations: 4 kB / 0.5158 GB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007893/0.123, allocations: 418 kB / 0.5162 GB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.1251, allocations: 1.131 MB / 0.5173 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007059/0.1321, allocations: 1.837 MB / 0.5191 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007004/0.1329, allocations: 301.3 kB / 0.5193 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.14e-05/0.133, allocations: 11.86 kB / 0.5194 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.133, allocations: 30.56 kB / 0.5194 GB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.226e-06/0.133, allocations: 8 kB / 0.5194 GB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.006627/0.1397, allocations: 2.365 MB / 0.5217 GB, free: 11.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1397, allocations: 55.41 kB / 0.5218 GB, free: 11.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.1403, allocations: 401.6 kB / 0.5221 GB, free: 10.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1403, allocations: 33.64 kB / 0.5222 GB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1405, allocations: 204.6 kB / 0.5224 GB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.1406, allocations: 130.1 kB / 0.5225 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.1407, allocations: 4 kB / 0.5225 GB, free: 10.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1408, allocations: 354.8 kB / 0.5228 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.1413, allocations: 252.5 kB / 0.5231 GB, free: 9.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.1418, allocations: 261.1 kB / 0.5233 GB, free: 9.566 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.143, allocations: 0.53 MB / 0.5238 GB, free: 9.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.143, allocations: 0 / 0.5238 GB, free: 9.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004387/0.1474, allocations: 1.518 MB / 0.5253 GB, free: 7.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1474, allocations: 4 kB / 0.5253 GB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1474, allocations: 0 / 0.5253 GB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/0.1505, allocations: 0.8923 MB / 0.5262 GB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.1508, allocations: 35.97 kB / 0.5262 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005869/0.1566, allocations: 3.052 MB / 0.5292 GB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.1572, allocations: 63.72 kB / 0.5293 GB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.1573, allocations: 15.98 kB / 0.5293 GB, free: 3.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.1575, allocations: 145.8 kB / 0.5294 GB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.1577, allocations: 39.53 kB / 0.5295 GB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.1617, allocations: 1.444 MB / 0.5309 GB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1617, allocations: 4 kB / 0.5309 GB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1617, allocations: 4 kB / 0.5309 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1617, allocations: 0 / 0.5309 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007006/0.1625, allocations: 0.5476 MB / 0.5314 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.1625, allocations: 0 / 0.5314 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.1627, allocations: 39.92 kB / 0.5315 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002256/0.165, allocations: 0.744 MB / 0.5322 GB, free: 244 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.1651, allocations: 8 kB / 0.5322 GB, free: 236 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.241/0.406, allocations: 2.517 MB / 0.5346 GB, free: 32.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.406, allocations: 0 / 0.5346 GB, free: 32.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005134/0.4112, allocations: 1.849 MB / 0.5365 GB, free: 31.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.4114, allocations: 128.2 kB / 0.5366 GB, free: 31.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.101e-05/0.4115, allocations: 6.094 kB / 0.5366 GB, free: 31.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.412, allocations: 46.66 kB / 0.5366 GB, free: 31.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.4122, allocations: 86.36 kB / 0.5367 GB, free: 31.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.4123, allocations: 6.938 kB / 0.5367 GB, free: 31.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003247/0.4126, allocations: 291.5 kB / 0.537 GB, free: 31.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4126, allocations: 0 / 0.537 GB, free: 31.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005079/0.4131, allocations: 139 kB / 0.5371 GB, free: 31.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001536/0.4133, allocations: 117.8 kB / 0.5372 GB, free: 31.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002961/0.4163, allocations: 1.179 MB / 0.5384 GB, free: 30.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4163, allocations: 0 / 0.5384 GB, free: 30.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.4182, allocations: 0.8172 MB / 0.5392 GB, free: 30.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.4186, allocations: 39.94 kB / 0.5392 GB, free: 30.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.4202, allocations: 1.044 MB / 0.5402 GB, free: 29.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.4205, allocations: 0.8112 MB / 0.541 GB, free: 28.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.4206, allocations: 33.23 kB / 0.5411 GB, free: 28.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.4208, allocations: 25.45 kB / 0.5411 GB, free: 28.96 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4208, allocations: 0 / 0.5411 GB, free: 28.96 MB / 362.7 MB Notification: Performance of Templates: time 0.01562/0.4364, allocations: 7.398 MB / 0.5483 GB, free: 27.57 MB / 362.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)