Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.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="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.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="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 181.5 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008803/0.0008804, allocations: 92.16 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002943, allocations: 19.97 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2548, allocations: 47.56 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1035/0.3584, allocations: 81.55 MB / 457.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.3586, allocations: 75.97 kB / 457.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02964/0.3883, allocations: 11.72 MB / 469.2 MB, free: 3.312 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3883, allocations: 0 / 469.2 MB, free: 3.312 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.469e-05/0.3884, allocations: 24 kB / 469.2 MB, free: 3.289 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001294/0.3897, allocations: 0.8772 MB / 470.1 MB, free: 2.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3898, allocations: 8.031 kB / 470.1 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.3899, allocations: 94.92 kB / 470.2 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.3906, allocations: 0.4975 MB / 470.7 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.437e-05/0.3907, allocations: 62 kB / 470.7 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.3908, allocations: 99.83 kB / 470.8 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.3922, allocations: 0.7888 MB / 471.6 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.3923, allocations: 3.906 kB / 471.6 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/0.3923, allocations: 36 kB / 471.6 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.3924, allocations: 24 kB / 471.7 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.3933, allocations: 495.6 kB / 472.1 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.3966, allocations: 2.892 MB / 475 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.3971, allocations: 231.8 kB / 475.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.3973, allocations: 251.3 kB / 475.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3974, allocations: 34.56 kB / 475.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.475e-06/0.3974, allocations: 0 / 475.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.002341/0.3997, allocations: 1.261 MB / 476.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.3998, allocations: 55.41 kB / 476.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.4001, allocations: 267.6 kB / 477.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.4002, allocations: 29.7 kB / 477.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.4004, allocations: 402.6 kB / 477.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.4005, allocations: 134.1 kB / 477.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.4006, allocations: 8 kB / 477.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4007, allocations: 346.8 kB / 478 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.4009, allocations: 109.1 kB / 478.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.4012, allocations: 254.6 kB / 478.4 MB, free: 9.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.4014, allocations: 155.5 kB / 478.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4015, allocations: 0 / 478.5 MB, free: 9.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000703/0.4022, allocations: 461.2 kB / 479 MB, free: 8.945 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.4022, allocations: 8 kB / 479 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4022, allocations: 4 kB / 479 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.4024, allocations: 40.83 kB / 479 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.4028, allocations: 112.4 kB / 479.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004318/0.4032, allocations: 0.5524 MB / 479.7 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.4034, allocations: 23.95 kB / 479.7 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.4035, allocations: 27.94 kB / 479.7 MB, free: 8.152 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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.0004163/0.4039, allocations: 220.6 kB / 480 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.404, allocations: 35.53 kB / 480 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/0.4046, allocations: 326.3 kB / 480.3 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4046, allocations: 4 kB / 480.3 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4047, allocations: 3.953 kB / 480.3 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4047, allocations: 3.984 kB / 480.3 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.4062, allocations: 1.022 MB / 481.3 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4062, allocations: 4.047 kB / 481.4 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/0.4066, allocations: 84.05 kB / 481.4 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001589/0.4067, allocations: 36.83 kB / 481.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.4068, allocations: 8 kB / 481.5 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003709/0.4071, allocations: 0.5446 MB / 482 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4072, allocations: 0 / 482 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/0.408, allocations: 0.6189 MB / 482.6 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.4081, allocations: 108.6 kB / 482.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.4082, allocations: 8 kB / 482.8 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.4083, allocations: 11.98 kB / 482.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.4084, allocations: 31.92 kB / 482.8 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.4085, allocations: 12 kB / 482.8 MB, free: 4.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002636/0.4087, allocations: 207.1 kB / 483 MB, free: 4.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4087, allocations: 0 / 483 MB, free: 4.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006109/0.4094, allocations: 120 kB / 483.1 MB, free: 4.555 MB / 362.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.phi,inertia2b.w,torqueToAngle2b.phi,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.000218/0.4096, allocations: 130.8 kB / 483.3 MB, free: 4.422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006506/0.4102, allocations: 319.3 kB / 483.6 MB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4103, allocations: 0 / 483.6 MB, free: 4.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.4105, allocations: 146.5 kB / 483.7 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.411, allocations: 53.41 kB / 483.8 MB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.4144, allocations: 2.013 MB / 485.8 MB, free: 1.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/0.4152, allocations: 0.9366 MB / 486.7 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.4154, allocations: 47.02 kB / 486.8 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.4155, allocations: 35.42 kB / 486.8 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4155, allocations: 7.938 kB / 486.8 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of Templates: time 0.009258/0.4247, allocations: 3.426 MB / 490.2 MB, free: 13.4 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches