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.001064/0.001064, allocations: 96.78 kB / 15.7 MB, free: 468 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.001576/0.001576, allocations: 176.2 kB / 16.58 MB, free: 5.656 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.671/1.671, allocations: 205.4 MB / 222.7 MB, free: 5.605 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.3923/0.3923, allocations: 43.57 MB / 314.6 MB, free: 8.77 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.0005491/0.0005495, allocations: 12 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1617, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006809/0.1685, allocations: 4.969 MB / 447.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005627/0.1742, allocations: 2.16 MB / 449.9 MB, free: 5.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.1753, allocations: 39.75 kB / 450 MB, free: 5.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005311/0.1759, allocations: 162.7 kB / 450.1 MB, free: 5.676 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.1763, allocations: 142.7 kB / 450.3 MB, free: 5.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1776, allocations: 307.3 kB / 450.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.1789, allocations: 0.9619 MB / 451.5 MB, free: 4.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009436/0.1798, allocations: 441.9 kB / 452 MB, free: 3.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.1802, allocations: 254.8 kB / 452.2 MB, free: 3.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.1806, allocations: 282.4 kB / 452.5 MB, free: 3.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.734e-05/0.1807, allocations: 35.94 kB / 452.5 MB, free: 3.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.1809, allocations: 87.91 kB / 452.6 MB, free: 3.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.1811, allocations: 139.4 kB / 452.7 MB, free: 3.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.1813, allocations: 185.2 kB / 452.9 MB, free: 2.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009386/0.1822, allocations: 0.9313 MB / 453.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1823, allocations: 0 / 453.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1823, allocations: 0 / 453.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1823, allocations: 0 / 453.9 MB, free: 1.91 MB / 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.001828/0.1841, allocations: 0.9668 MB / 454.8 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1842, allocations: 8.031 kB / 454.8 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1843, allocations: 102.8 kB / 454.9 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007615/0.1851, allocations: 0.5432 MB / 455.5 MB, free: 208 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.1852, allocations: 73.98 kB / 455.5 MB, free: 132 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.1853, allocations: 88 kB / 455.6 MB, free: 44 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2965/0.4818, allocations: 0.8844 MB / 456.5 MB, free: 45.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.4819, allocations: 14.31 kB / 456.5 MB, free: 45.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.067e-05/0.482, allocations: 35.75 kB / 456.6 MB, free: 45.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.482, allocations: 23.88 kB / 456.6 MB, free: 45.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008921/0.4829, allocations: 0.5235 MB / 457.1 MB, free: 45.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.4861, allocations: 3.636 MB / 460.7 MB, free: 43.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.4867, allocations: 229.4 kB / 461 MB, free: 43.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.4868, allocations: 106.4 kB / 461.1 MB, free: 43.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.4871, allocations: 254.6 kB / 461.3 MB, free: 43.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.4871, allocations: 38.5 kB / 461.4 MB, free: 43.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.675e-06/0.4871, allocations: 1.5 kB / 461.4 MB, free: 43.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.002229/0.4894, allocations: 1.305 MB / 462.7 MB, free: 42.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.4894, allocations: 54.41 kB / 462.7 MB, free: 42.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.4898, allocations: 402.4 kB / 463.1 MB, free: 42.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.4898, allocations: 31.45 kB / 463.1 MB, free: 42.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.49, allocations: 468.4 kB / 463.6 MB, free: 42.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.4901, allocations: 133.8 kB / 463.7 MB, free: 42.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.4902, allocations: 11.16 kB / 463.7 MB, free: 42.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.962e-05/0.4903, allocations: 360.3 kB / 464.1 MB, free: 42.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.4905, allocations: 113.5 kB / 464.2 MB, free: 42.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.4908, allocations: 311.7 kB / 464.5 MB, free: 41.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.4911, allocations: 169.1 kB / 464.7 MB, free: 41.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.4911, allocations: 2.844 kB / 464.7 MB, free: 41.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006894/0.4918, allocations: 0.5028 MB / 465.2 MB, free: 41.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4918, allocations: 13.58 kB / 465.2 MB, free: 41.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4918, allocations: 5.812 kB / 465.2 MB, free: 41.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.492, allocations: 45.02 kB / 465.2 MB, free: 41.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000341/0.4924, allocations: 125.5 kB / 465.4 MB, free: 41.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002829/0.4927, allocations: 0.558 MB / 465.9 MB, free: 41.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.4929, allocations: 20.34 kB / 465.9 MB, free: 41.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.493, allocations: 22.47 kB / 466 MB, free: 41.12 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 (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.0002902/0.4933, allocations: 238 kB / 466.2 MB, free: 40.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.226e-05/0.4933, allocations: 50.84 kB / 466.3 MB, free: 40.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/0.4939, allocations: 338.8 kB / 466.6 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.4939, allocations: 2.688 kB / 466.6 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4939, allocations: 4 kB / 466.6 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.4939, allocations: 2.906 kB / 466.6 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.4953, allocations: 1.055 MB / 467.6 MB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4953, allocations: 3 kB / 467.7 MB, free: 40.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.4957, allocations: 76.5 kB / 467.7 MB, free: 40.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/0.4958, allocations: 40.66 kB / 467.8 MB, free: 40.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.4959, allocations: 7.625 kB / 467.8 MB, free: 40.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002226/0.4961, allocations: 0.5505 MB / 468.3 MB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.4961, allocations: 7.625 kB / 468.3 MB, free: 39.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006198/0.4967, allocations: 0.5688 MB / 468.9 MB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.4968, allocations: 115.4 kB / 469 MB, free: 39.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.4969, allocations: 12 kB / 469 MB, free: 39.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.497, allocations: 10 kB / 469 MB, free: 39.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.4971, allocations: 18.7 kB / 469.1 MB, free: 39.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.4971, allocations: 21.47 kB / 469.1 MB, free: 39.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002276/0.4973, allocations: 269.6 kB / 469.3 MB, free: 39.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4973, allocations: 0 / 469.3 MB, free: 39.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005161/0.4979, allocations: 123.1 kB / 469.5 MB, free: 39.28 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 (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.0001426/0.498, allocations: 121.2 kB / 469.6 MB, free: 39.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000586/0.4986, allocations: 333.9 kB / 469.9 MB, free: 39.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4986, allocations: 1.625 kB / 469.9 MB, free: 39.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.4988, allocations: 150.9 kB / 470 MB, free: 39.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.4993, allocations: 65.59 kB / 470.1 MB, free: 39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.5018, allocations: 2.074 MB / 472.2 MB, free: 37.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.5022, allocations: 0.9551 MB / 473.1 MB, free: 36.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.5024, allocations: 60.77 kB / 473.2 MB, free: 36.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/0.5025, allocations: 42.45 kB / 473.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5025, allocations: 3 kB / 473.2 MB, free: 36.84 MB / 382.1 MB Notification: Performance of Templates: time 0.009015/0.5115, allocations: 3.829 MB / 477.1 MB, free: 36.5 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