Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009994/0.0009994, allocations: 97.17 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 183.7 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 223.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4165/0.4165, allocations: 43.57 MB / 315 MB, free: 8.844 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006111/0.0006111, allocations: 12 kB / 384.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1662, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006565/0.1729, allocations: 5.276 MB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006165/0.1791, allocations: 2.264 MB / 451 MB, free: 5.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.1807, allocations: 39.75 kB / 451 MB, free: 5.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005698/0.1812, allocations: 174.7 kB / 451.2 MB, free: 4.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.1818, allocations: 146.8 kB / 451.3 MB, free: 4.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.1831, allocations: 395.3 kB / 451.7 MB, free: 4.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.1842, allocations: 1.036 MB / 452.8 MB, free: 3.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007853/0.185, allocations: 0.5598 MB / 453.3 MB, free: 2.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.1854, allocations: 266.7 kB / 453.6 MB, free: 2.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.1857, allocations: 302.1 kB / 453.9 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.294e-05/0.1858, allocations: 32 kB / 453.9 MB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.186, allocations: 87.92 kB / 454 MB, free: 2.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.1862, allocations: 143.3 kB / 454.1 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.1865, allocations: 403.4 kB / 454.5 MB, free: 1.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009804/0.1875, allocations: 1.132 MB / 455.6 MB, free: 400 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1875, allocations: 0 / 455.6 MB, free: 400 kB / 382.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.1876, allocations: 0 / 455.6 MB, free: 400 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1876, allocations: 7.938 kB / 455.7 MB, free: 392 kB / 382.1 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.2989/0.4864, allocations: 0.9507 MB / 456.6 MB, free: 46.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4865, allocations: 8.75 kB / 456.6 MB, free: 46.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.4867, allocations: 102.7 kB / 456.7 MB, free: 46.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.4874, allocations: 0.5634 MB / 457.3 MB, free: 45.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.4875, allocations: 68.94 kB / 457.3 MB, free: 45.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.4876, allocations: 96.34 kB / 457.4 MB, free: 45.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.489, allocations: 0.8862 MB / 458.3 MB, free: 45.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.4891, allocations: 10.19 kB / 458.3 MB, free: 45.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.766e-05/0.4891, allocations: 45.3 kB / 458.4 MB, free: 45.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.4892, allocations: 25.59 kB / 458.4 MB, free: 45.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/0.49, allocations: 0.5299 MB / 458.9 MB, free: 45.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.4928, allocations: 3.643 MB / 462.6 MB, free: 43.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.4933, allocations: 220.2 kB / 462.8 MB, free: 43.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.4935, allocations: 108.6 kB / 462.9 MB, free: 43.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.4937, allocations: 245.4 kB / 463.1 MB, free: 43.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.4937, allocations: 37.41 kB / 463.2 MB, free: 43.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.4937, allocations: 4 kB / 463.2 MB, free: 43.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.002055/0.4958, allocations: 1.313 MB / 464.5 MB, free: 42.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.4959, allocations: 57.03 kB / 464.5 MB, free: 42.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.4962, allocations: 398.6 kB / 464.9 MB, free: 42.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.4963, allocations: 33.3 kB / 465 MB, free: 42.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.4965, allocations: 467.1 kB / 465.4 MB, free: 41.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.4966, allocations: 134.8 kB / 465.6 MB, free: 41.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.4966, allocations: 57.05 kB / 465.6 MB, free: 41.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.4967, allocations: 366.4 kB / 466 MB, free: 41.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.4969, allocations: 114.8 kB / 466.1 MB, free: 41.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.4971, allocations: 304.3 kB / 466.4 MB, free: 41.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.4976, allocations: 467.5 kB / 466.8 MB, free: 41.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4976, allocations: 0 / 466.8 MB, free: 41.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006898/0.4983, allocations: 0.5255 MB / 467.4 MB, free: 40.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.4983, allocations: 7.531 kB / 467.4 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4983, allocations: 5.859 kB / 467.4 MB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.4985, allocations: 40.05 kB / 467.4 MB, free: 40.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.4989, allocations: 125 kB / 467.5 MB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002731/0.4992, allocations: 0.559 MB / 468.1 MB, free: 40.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.4994, allocations: 27.72 kB / 468.1 MB, free: 40.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.4994, allocations: 25.84 kB / 468.1 MB, free: 40.38 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003061/0.4997, allocations: 232.6 kB / 468.4 MB, free: 40.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.4998, allocations: 47.72 kB / 468.4 MB, free: 40.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005615/0.5004, allocations: 335 kB / 468.8 MB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5004, allocations: 5.375 kB / 468.8 MB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5004, allocations: 3.938 kB / 468.8 MB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5004, allocations: 3.281 kB / 468.8 MB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.5016, allocations: 1.056 MB / 469.8 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5016, allocations: 0 / 469.8 MB, free: 39.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.5019, allocations: 83.3 kB / 469.9 MB, free: 39.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.502, allocations: 29.39 kB / 469.9 MB, free: 39.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.5021, allocations: 14 kB / 469.9 MB, free: 39.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002061/0.5023, allocations: 0.553 MB / 470.5 MB, free: 38.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.5023, allocations: 3.875 kB / 470.5 MB, free: 38.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.5029, allocations: 0.5588 MB / 471.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.503, allocations: 117.1 kB / 471.2 MB, free: 38.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.503, allocations: 11.19 kB / 471.2 MB, free: 38.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.5032, allocations: 13.95 kB / 471.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.5033, allocations: 28 kB / 471.2 MB, free: 38.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.5033, allocations: 17.11 kB / 471.2 MB, free: 38.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.5035, allocations: 274.5 kB / 471.5 MB, free: 38.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5035, allocations: 0 / 471.5 MB, free: 38.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005258/0.5041, allocations: 120.6 kB / 471.6 MB, free: 38.27 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.5042, allocations: 120.7 kB / 471.7 MB, free: 38.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005358/0.5048, allocations: 336.8 kB / 472.1 MB, free: 38.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5048, allocations: 3.094 kB / 472.1 MB, free: 38.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.505, allocations: 145.2 kB / 472.2 MB, free: 38.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006107/0.5056, allocations: 77.42 kB / 472.3 MB, free: 37.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.5079, allocations: 2.148 MB / 474.4 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.5082, allocations: 0.9576 MB / 475.4 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.5084, allocations: 59.84 kB / 475.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.5085, allocations: 39.75 kB / 475.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5085, allocations: 0 / 475.5 MB, free: 35.75 MB / 382.1 MB Notification: Performance of Templates: time 0.008645/0.5171, allocations: 3.929 MB / 479.4 MB, free: 35.42 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches