Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002736/0.002735, allocations: 347.3 kB / 15.94 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.596/3.596, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003741/0.00374, allocations: 225.1 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5333/0.5333, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004782, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0829/0.0834, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002931/0.0864, allocations: 2.163 MB / 0.6088 GB, free: 2.484 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.08767, allocations: 0.643 MB / 0.6095 GB, free: 1.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.08785, allocations: 7.938 kB / 0.6095 GB, free: 1.832 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 6.909e-05/0.08794, allocations: 27.77 kB / 0.6095 GB, free: 1.805 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.08821, allocations: 87.27 kB / 0.6096 GB, free: 1.719 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.08849, allocations: 67.91 kB / 0.6097 GB, free: 1.652 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.3347/0.4232, allocations: 304.5 kB / 0.6099 GB, free: 88.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004446/0.4237, allocations: 58.97 kB / 0.61 GB, free: 88.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004532/0.4241, allocations: 106.6 kB / 0.6101 GB, free: 88.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.4245, allocations: 117.3 kB / 0.6102 GB, free: 88.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.4246, allocations: 12.03 kB / 0.6102 GB, free: 88.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.656e-05/0.4247, allocations: 12.06 kB / 0.6102 GB, free: 88.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.896e-05/0.4248, allocations: 42.44 kB / 0.6103 GB, free: 88.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.425, allocations: 78.67 kB / 0.6104 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.4255, allocations: 214.5 kB / 0.6106 GB, free: 88.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4255, allocations: 1.156 kB / 0.6106 GB, free: 88.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4256, allocations: 0 / 0.6106 GB, free: 88.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.4256, allocations: 0 / 0.6106 GB, free: 88.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001507/0.4271, allocations: 0.5522 MB / 0.6111 GB, free: 88.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.4272, allocations: 11.39 kB / 0.6111 GB, free: 88.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.4273, allocations: 31.19 kB / 0.6111 GB, free: 88.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.4278, allocations: 254.3 kB / 0.6114 GB, free: 87.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.4279, allocations: 17.09 kB / 0.6114 GB, free: 87.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.77e-05/0.428, allocations: 34.66 kB / 0.6114 GB, free: 87.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009892/0.429, allocations: 282.8 kB / 0.6117 GB, free: 87.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.429, allocations: 4.578 kB / 0.6117 GB, free: 87.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.4291, allocations: 9 kB / 0.6117 GB, free: 87.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.4291, allocations: 6.656 kB / 0.6117 GB, free: 87.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009903/0.4301, allocations: 201.8 kB / 0.6119 GB, free: 87.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.433, allocations: 1.328 MB / 0.6132 GB, free: 86.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006551/0.4337, allocations: 250.8 kB / 0.6134 GB, free: 86.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.4341, allocations: 114.9 kB / 0.6136 GB, free: 86.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.4341, allocations: 4.453 kB / 0.6136 GB, free: 86.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.4342, allocations: 43.7 kB / 0.6136 GB, free: 86.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.898e-06/0.4342, allocations: 1.5 kB / 0.6136 GB, free: 86.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.004114/0.4383, allocations: 1.626 MB / 0.6152 GB, free: 85.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.4384, allocations: 133.8 kB / 0.6153 GB, free: 85.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.4388, allocations: 224.7 kB / 0.6155 GB, free: 85.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.4388, allocations: 31.64 kB / 0.6156 GB, free: 85.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.439, allocations: 181.5 kB / 0.6157 GB, free: 85.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.4391, allocations: 112.8 kB / 0.6158 GB, free: 85.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.4391, allocations: 8 kB / 0.6159 GB, free: 85.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4392, allocations: 340.2 kB / 0.6162 GB, free: 84.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.4398, allocations: 108.3 kB / 0.6163 GB, free: 84.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.4404, allocations: 255.3 kB / 0.6165 GB, free: 84.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.4409, allocations: 139.8 kB / 0.6167 GB, free: 84.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.441, allocations: 2.531 kB / 0.6167 GB, free: 84.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001361/0.4423, allocations: 418.1 kB / 0.6171 GB, free: 84.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.4424, allocations: 6.625 kB / 0.6171 GB, free: 84.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.4424, allocations: 4.219 kB / 0.6171 GB, free: 84.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.4424, allocations: 12.78 kB / 0.6171 GB, free: 84.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.4432, allocations: 107.8 kB / 0.6172 GB, free: 84.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.4432, allocations: 6.953 kB / 0.6172 GB, free: 84.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.4436, allocations: 39.59 kB / 0.6172 GB, free: 84.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.4437, allocations: 20.95 kB / 0.6172 GB, free: 84.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002158/0.4439, allocations: 155.6 kB / 0.6174 GB, free: 84.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.4441, allocations: 26.27 kB / 0.6174 GB, free: 84.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.81e-05/0.4442, allocations: 35.11 kB / 0.6175 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4442, allocations: 3.312 kB / 0.6175 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.4442, allocations: 1.625 kB / 0.6175 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.4443, allocations: 126 kB / 0.6176 GB, free: 84.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.4444, allocations: 13.77 kB / 0.6176 GB, free: 84.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.4449, allocations: 24.48 kB / 0.6176 GB, free: 84.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.445, allocations: 29.17 kB / 0.6176 GB, free: 84.38 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00164/0.4467, allocations: 0.6466 MB / 0.6183 GB, free: 84.04 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001745/0.4485, allocations: 0.8325 MB / 0.6191 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005145/0.449, allocations: 134.8 kB / 0.6192 GB, free: 83.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.4492, allocations: 161 kB / 0.6194 GB, free: 83.51 MB / 362.7 MB Notification: Performance of Backend: time 7.71e-07/0.4493, allocations: 0 / 0.6194 GB, free: 83.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.4507, allocations: 275.6 kB / 0.6196 GB, free: 83.42 MB / 362.7 MB Notification: Performance of SimCode: time 0.002325/0.453, allocations: 1.495 MB / 0.6211 GB, free: 82.32 MB / 362.7 MB Notification: Performance of Templates: time 0.0102/0.4633, allocations: 2.534 MB / 0.6236 GB, free: 82.22 MB / 362.7 MB