Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 178.6 kB / 18.09 MB, free: 3.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009094, allocations: 95.44 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3371/0.3371, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004163, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3968, allocations: 61.88 MB / 0.5107 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.5204, allocations: 93.64 MB / 0.6022 GB, free: 1.391 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.5206, allocations: 71.95 kB / 0.6022 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0348/0.5554, allocations: 13.91 MB / 0.6158 GB, free: 3.316 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5555, allocations: 0 / 0.6158 GB, free: 3.316 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001105/0.5556, allocations: 31.92 kB / 0.6158 GB, free: 3.285 MB / 426.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.002313/0.5579, allocations: 0.951 MB / 0.6168 GB, free: 2.281 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.558, allocations: 12.03 kB / 0.6168 GB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.5583, allocations: 99.72 kB / 0.6169 GB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009982/0.5593, allocations: 0.5657 MB / 0.6174 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.5594, allocations: 66.38 kB / 0.6175 GB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.5596, allocations: 96.28 kB / 0.6176 GB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.5615, allocations: 0.8819 MB / 0.6184 GB, free: 472 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.108e-05/0.5616, allocations: 16.02 kB / 0.6185 GB, free: 456 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.5617, allocations: 43.94 kB / 0.6185 GB, free: 412 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.5617, allocations: 24 kB / 0.6185 GB, free: 388 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.5629, allocations: 0.5191 MB / 0.619 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004959/0.5679, allocations: 3.634 MB / 0.6226 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.5686, allocations: 222.7 kB / 0.6228 GB, free: 11.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.5688, allocations: 101.3 kB / 0.6229 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/0.5691, allocations: 255.2 kB / 0.6231 GB, free: 11.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.5691, allocations: 34.56 kB / 0.6232 GB, free: 11.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 2.284e-06/0.5691, allocations: 0 / 0.6232 GB, free: 11.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002735/0.5719, allocations: 1.318 MB / 0.6245 GB, free: 9.984 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.5719, allocations: 59.34 kB / 0.6245 GB, free: 9.914 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/0.5725, allocations: 393.8 kB / 0.6249 GB, free: 9.523 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.5725, allocations: 33.7 kB / 0.6249 GB, free: 9.484 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.5729, allocations: 466.1 kB / 0.6254 GB, free: 9.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.573, allocations: 134.1 kB / 0.6255 GB, free: 8.887 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.5731, allocations: 12 kB / 0.6255 GB, free: 8.875 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.5733, allocations: 358.8 kB / 0.6258 GB, free: 8.516 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.5735, allocations: 125 kB / 0.626 GB, free: 8.391 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.5739, allocations: 303 kB / 0.6263 GB, free: 8.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006862/0.5746, allocations: 464.5 kB / 0.6267 GB, free: 7.473 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.5746, allocations: 3.938 kB / 0.6267 GB, free: 7.469 MB / 442.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009318/0.5756, allocations: 0.5134 MB / 0.6272 GB, free: 6.945 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.5756, allocations: 8 kB / 0.6272 GB, free: 6.938 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.5756, allocations: 8.031 kB / 0.6272 GB, free: 6.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.5759, allocations: 40.84 kB / 0.6273 GB, free: 6.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.5763, allocations: 127.8 kB / 0.6274 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004922/0.5768, allocations: 0.5524 MB / 0.6279 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.5771, allocations: 23.94 kB / 0.6279 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.5771, allocations: 24 kB / 0.628 GB, free: 6.137 MB / 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.0004143/0.5775, allocations: 234 kB / 0.6282 GB, free: 5.898 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.5776, allocations: 47.38 kB / 0.6282 GB, free: 5.852 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006366/0.5783, allocations: 333.5 kB / 0.6286 GB, free: 5.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.5783, allocations: 11.94 kB / 0.6286 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5783, allocations: 0 / 0.6286 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5783, allocations: 0 / 0.6286 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.5801, allocations: 1.061 MB / 0.6296 GB, free: 4.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.5801, allocations: 4 kB / 0.6296 GB, free: 4.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.5804, allocations: 83.89 kB / 0.6297 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.5806, allocations: 28.84 kB / 0.6297 GB, free: 4.254 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.5806, allocations: 8 kB / 0.6297 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003732/0.581, allocations: 0.5603 MB / 0.6303 GB, free: 3.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.581, allocations: 4.031 kB / 0.6303 GB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008024/0.5818, allocations: 0.5552 MB / 0.6308 GB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.582, allocations: 120.5 kB / 0.6309 GB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.582, allocations: 8 kB / 0.6309 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.5822, allocations: 11.98 kB / 0.6309 GB, free: 2.906 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.5822, allocations: 28 kB / 0.631 GB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.5823, allocations: 16 kB / 0.631 GB, free: 2.863 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003054/0.5826, allocations: 263.1 kB / 0.6312 GB, free: 2.605 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5826, allocations: 0 / 0.6312 GB, free: 2.605 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005998/0.5832, allocations: 136.1 kB / 0.6314 GB, free: 2.473 MB / 442.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.0002173/0.5834, allocations: 123.4 kB / 0.6315 GB, free: 2.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007071/0.5842, allocations: 335.3 kB / 0.6318 GB, free: 2.012 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5842, allocations: 1.688 kB / 0.6318 GB, free: 2.012 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.5845, allocations: 149.3 kB / 0.6319 GB, free: 1.867 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006052/0.5851, allocations: 73.81 kB / 0.632 GB, free: 1.801 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.5885, allocations: 2.059 MB / 0.634 GB, free: 15.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/0.5893, allocations: 0.9561 MB / 0.635 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002631/0.5896, allocations: 71.14 kB / 0.635 GB, free: 14.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.779e-05/0.5897, allocations: 35.44 kB / 0.6351 GB, free: 14.6 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5897, allocations: 0 / 0.6351 GB, free: 14.6 MB / 458.7 MB Notification: Performance of Templates: time 0.009797/0.5995, allocations: 3.871 MB / 0.6388 GB, free: 10.76 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches