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.001793/0.001793, allocations: 201.3 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 226.5 MB / 245.4 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007835/0.0007836, allocations: 104.5 kB / 297.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4086/0.4086, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3922, allocations: 62.95 MB / 0.5184 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5257, allocations: 94.55 MB / 0.6107 GB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.526, allocations: 79.94 kB / 0.6108 GB, free: 10.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03605/0.562, allocations: 13.99 MB / 0.6245 GB, free: 12.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.98e-06/0.5621, allocations: 0 / 0.6245 GB, free: 12.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.945e-05/0.5622, allocations: 27.94 kB / 0.6245 GB, free: 12.53 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.002013/0.5642, allocations: 0.9588 MB / 0.6255 GB, free: 11.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5643, allocations: 8.031 kB / 0.6255 GB, free: 11.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.5647, allocations: 115.7 kB / 0.6256 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009822/0.5657, allocations: 0.5618 MB / 0.6261 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.5657, allocations: 66.38 kB / 0.6262 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.5659, allocations: 96.28 kB / 0.6263 GB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.5676, allocations: 0.8819 MB / 0.6271 GB, free: 9.691 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.529e-05/0.5677, allocations: 12.03 kB / 0.6271 GB, free: 9.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/0.5678, allocations: 39.94 kB / 0.6272 GB, free: 9.641 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.5678, allocations: 31.94 kB / 0.6272 GB, free: 9.609 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.569, allocations: 0.5151 MB / 0.6277 GB, free: 9.094 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004325/0.5733, allocations: 3.647 MB / 0.6313 GB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.5739, allocations: 224 kB / 0.6315 GB, free: 5.059 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.5741, allocations: 110.5 kB / 0.6316 GB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.5744, allocations: 243.3 kB / 0.6318 GB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.5744, allocations: 42.56 kB / 0.6319 GB, free: 4.605 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 4.889e-06/0.5745, allocations: 0 / 0.6319 GB, free: 4.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002619/0.5771, allocations: 1.309 MB / 0.6331 GB, free: 3.199 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.5771, allocations: 59.39 kB / 0.6332 GB, free: 3.129 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.5776, allocations: 393.8 kB / 0.6336 GB, free: 2.738 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.5777, allocations: 33.7 kB / 0.6336 GB, free: 2.699 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.578, allocations: 470.1 kB / 0.6341 GB, free: 2.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.5781, allocations: 134.1 kB / 0.6342 GB, free: 2.098 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.5781, allocations: 20 kB / 0.6342 GB, free: 2.078 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5782, allocations: 354.8 kB / 0.6345 GB, free: 1.723 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.5785, allocations: 109.1 kB / 0.6347 GB, free: 1.617 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.5788, allocations: 310.2 kB / 0.6349 GB, free: 1.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006072/0.5794, allocations: 460.7 kB / 0.6354 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5795, allocations: 7.938 kB / 0.6354 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000878/0.5803, allocations: 0.517 MB / 0.6359 GB, free: 164 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.5804, allocations: 10.66 kB / 0.6359 GB, free: 156 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.5804, allocations: 8 kB / 0.6359 GB, free: 148 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.5806, allocations: 40.83 kB / 0.636 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.5811, allocations: 123.8 kB / 0.6361 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004614/0.5815, allocations: 0.5565 MB / 0.6366 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.5818, allocations: 23.94 kB / 0.6366 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.5819, allocations: 24 kB / 0.6367 GB, free: 15.35 MB / 458.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.0004634/0.5824, allocations: 237.3 kB / 0.6369 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.5825, allocations: 47.44 kB / 0.6369 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/0.5832, allocations: 336.2 kB / 0.6373 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.5832, allocations: 3.938 kB / 0.6373 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5832, allocations: 7.938 kB / 0.6373 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5832, allocations: 0 / 0.6373 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.5849, allocations: 1.072 MB / 0.6383 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.5849, allocations: 0 / 0.6383 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.5853, allocations: 79.91 kB / 0.6384 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001586/0.5855, allocations: 32.83 kB / 0.6384 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.5855, allocations: 20.09 kB / 0.6384 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000349/0.5859, allocations: 0.5446 MB / 0.639 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5859, allocations: 0 / 0.639 GB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/0.5867, allocations: 0.5551 MB / 0.6395 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.5868, allocations: 120.5 kB / 0.6396 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/0.5869, allocations: 8 kB / 0.6396 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.5871, allocations: 15.94 kB / 0.6397 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.5872, allocations: 28 kB / 0.6397 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.5872, allocations: 15.98 kB / 0.6397 GB, free: 12.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003043/0.5875, allocations: 263.2 kB / 0.6399 GB, free: 11.81 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5875, allocations: 0 / 0.6399 GB, free: 11.81 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000605/0.5881, allocations: 136 kB / 0.6401 GB, free: 11.68 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.0002212/0.5884, allocations: 122.9 kB / 0.6402 GB, free: 11.55 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006689/0.589, allocations: 324.9 kB / 0.6405 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.589, allocations: 320 / 0.6405 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.5893, allocations: 147.8 kB / 0.6406 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.5899, allocations: 73.95 kB / 0.6407 GB, free: 11.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.5931, allocations: 2.064 MB / 0.6427 GB, free: 8.902 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/0.5938, allocations: 0.96 MB / 0.6437 GB, free: 7.918 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.5941, allocations: 56.17 kB / 0.6437 GB, free: 7.863 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.5942, allocations: 43.42 kB / 0.6438 GB, free: 7.82 MB / 458.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5942, allocations: 0 / 0.6438 GB, free: 7.82 MB / 458.7 MB Notification: Performance of Templates: time 0.009703/0.6039, allocations: 3.881 MB / 0.6475 GB, free: 3.969 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/jenkins1/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