Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001352/0.001352, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008845/0.0008845, allocations: 103.2 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.348/0.348, allocations: 45.24 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002613, allocations: 12 kB / 468.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3229, allocations: 63.24 MB / 0.5192 GB, free: 43.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.4336, allocations: 94.65 MB / 0.6116 GB, free: 11.01 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.4339, allocations: 72.64 kB / 0.6117 GB, free: 10.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03371/0.4676, allocations: 14.01 MB / 0.6254 GB, free: 12.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4676, allocations: 4 kB / 0.6254 GB, free: 12.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.017e-05/0.4677, allocations: 27.98 kB / 0.6254 GB, free: 12.86 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001569/0.4693, allocations: 0.9548 MB / 0.6263 GB, free: 11.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4693, allocations: 16.02 kB / 0.6263 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.4696, allocations: 110.8 kB / 0.6264 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008441/0.4705, allocations: 0.5452 MB / 0.627 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.4705, allocations: 70 kB / 0.627 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.4707, allocations: 91.91 kB / 0.6271 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.4721, allocations: 0.8837 MB / 0.628 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.4721, allocations: 7.906 kB / 0.628 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/0.4722, allocations: 43.89 kB / 0.628 GB, free: 9.992 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.4723, allocations: 24 kB / 0.6281 GB, free: 9.969 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.4733, allocations: 0.5151 MB / 0.6286 GB, free: 9.449 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.4771, allocations: 3.641 MB / 0.6321 GB, free: 5.652 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.4777, allocations: 225.7 kB / 0.6323 GB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.4779, allocations: 255.3 kB / 0.6326 GB, free: 5.113 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.478, allocations: 34.56 kB / 0.6326 GB, free: 5.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.478, allocations: 3.938 kB / 0.6326 GB, free: 5.066 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002671/0.4807, allocations: 1.303 MB / 0.6339 GB, free: 3.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.4807, allocations: 55.41 kB / 0.6339 GB, free: 3.605 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.4812, allocations: 345 kB / 0.6343 GB, free: 3.262 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.4812, allocations: 37.7 kB / 0.6343 GB, free: 3.219 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.4816, allocations: 462.1 kB / 0.6347 GB, free: 2.758 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.4817, allocations: 134.1 kB / 0.6349 GB, free: 2.625 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.4817, allocations: 16 kB / 0.6349 GB, free: 2.609 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4819, allocations: 358.8 kB / 0.6352 GB, free: 2.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.4821, allocations: 113.1 kB / 0.6353 GB, free: 2.141 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.4824, allocations: 306.2 kB / 0.6356 GB, free: 1.758 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.4827, allocations: 168.7 kB / 0.6358 GB, free: 1.594 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4827, allocations: 0 / 0.6358 GB, free: 1.594 MB / 442.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008287/0.4836, allocations: 0.5125 MB / 0.6363 GB, free: 1.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4836, allocations: 8 kB / 0.6363 GB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4836, allocations: 4.781 kB / 0.6363 GB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.4838, allocations: 44.84 kB / 0.6364 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.4842, allocations: 135.7 kB / 0.6365 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004077/0.4846, allocations: 0.5524 MB / 0.637 GB, free: 308 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.4849, allocations: 19.98 kB / 0.637 GB, free: 288 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.4849, allocations: 28 kB / 0.6371 GB, free: 260 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00032/0.4852, allocations: 237.7 kB / 0.6373 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-05/0.4853, allocations: 47.61 kB / 0.6373 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005843/0.4859, allocations: 330.2 kB / 0.6377 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.486, allocations: 4 kB / 0.6377 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.486, allocations: 0 / 0.6377 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.486, allocations: 7.984 kB / 0.6377 GB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.4874, allocations: 1.065 MB / 0.6387 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4875, allocations: 3.953 kB / 0.6387 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/0.4878, allocations: 83.83 kB / 0.6388 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.4879, allocations: 32.84 kB / 0.6388 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.488, allocations: 8 kB / 0.6388 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003189/0.4883, allocations: 0.5485 MB / 0.6394 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4883, allocations: 4.156 kB / 0.6394 GB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/0.4891, allocations: 0.6188 MB / 0.64 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4892, allocations: 124.4 kB / 0.6401 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.4893, allocations: 15.94 kB / 0.6401 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.4894, allocations: 12 kB / 0.6401 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.4895, allocations: 23.97 kB / 0.6401 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.4895, allocations: 11.95 kB / 0.6402 GB, free: 12.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002607/0.4898, allocations: 271.1 kB / 0.6404 GB, free: 12.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4898, allocations: 0 / 0.6404 GB, free: 12.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005006/0.4903, allocations: 132 kB / 0.6405 GB, free: 12.49 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001756/0.4905, allocations: 127.2 kB / 0.6407 GB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006211/0.4911, allocations: 329.5 kB / 0.641 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4911, allocations: 320 / 0.641 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.4914, allocations: 139.8 kB / 0.6411 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.4918, allocations: 67.44 kB / 0.6412 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.4947, allocations: 2.067 MB / 0.6432 GB, free: 9.719 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006355/0.4953, allocations: 0.9756 MB / 0.6441 GB, free: 8.719 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001934/0.4955, allocations: 52.55 kB / 0.6442 GB, free: 8.668 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.99e-05/0.4956, allocations: 43.42 kB / 0.6442 GB, free: 8.625 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4956, allocations: 0 / 0.6442 GB, free: 8.625 MB / 458.7 MB Notification: Performance of Templates: time 0.008862/0.5045, allocations: 3.84 MB / 0.648 GB, free: 4.824 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches