Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.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.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 172.5 kB / 14.1 MB, free: 1.223 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.656/1.656, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008183/0.0008183, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.349e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08513/0.08517, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/0.3659, allocations: 77.49 MB / 447.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.3663, allocations: 71.72 kB / 447.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01059/0.3769, allocations: 4.041 MB / 451.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3769, allocations: 4 kB / 451.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.3769, allocations: 4 kB / 451.6 MB, free: 12.35 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005583/0.3775, allocations: 470.5 kB / 452.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3775, allocations: 16.78 kB / 452.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.3776, allocations: 23.72 kB / 452.1 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.3779, allocations: 227.6 kB / 452.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3779, allocations: 20.25 kB / 452.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.3779, allocations: 31.62 kB / 452.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.3782, allocations: 177.2 kB / 452.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3783, allocations: 4 kB / 452.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.3783, allocations: 9.578 kB / 452.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3783, allocations: 4 kB / 452.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.3785, allocations: 132.2 kB / 452.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000905/0.3795, allocations: 0.6298 MB / 453.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.3797, allocations: 172 kB / 453.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.3799, allocations: 95.34 kB / 453.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3799, allocations: 96 / 453.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.3799, allocations: 38.5 kB / 453.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.142e-06/0.3799, allocations: 3.938 kB / 453.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001485/0.3814, allocations: 0.9768 MB / 454.6 MB, free: 9.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.3815, allocations: 55.41 kB / 454.7 MB, free: 9.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.3816, allocations: 159.5 kB / 454.8 MB, free: 9.371 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.3816, allocations: 32.14 kB / 454.9 MB, free: 9.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.3817, allocations: 134.4 kB / 455 MB, free: 9.223 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.3818, allocations: 121.5 kB / 455.1 MB, free: 9.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.3818, allocations: 3.688 kB / 455.1 MB, free: 9.117 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3819, allocations: 341.3 kB / 455.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.382, allocations: 69.16 kB / 455.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3822, allocations: 92.28 kB / 455.6 MB, free: 8.668 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.3823, allocations: 78.08 kB / 455.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3823, allocations: 3.984 kB / 455.7 MB, free: 8.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003919/0.3827, allocations: 282.3 kB / 456 MB, free: 8.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3827, allocations: 8 kB / 456 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3827, allocations: 3.953 kB / 456 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.3829, allocations: 51.52 kB / 456 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.3831, allocations: 55.91 kB / 456.1 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.3845, allocations: 1.559 MB / 457.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3846, allocations: 7.656 kB / 457.6 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.3847, allocations: 12.06 kB / 457.7 MB, free: 6.723 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.83e-05/0.3847, allocations: 127.9 kB / 457.8 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.3848, allocations: 15.81 kB / 457.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/0.3849, allocations: 28.91 kB / 457.8 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3849, allocations: 4 kB / 457.8 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3849, allocations: 4 kB / 457.8 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.3849, allocations: 7.969 kB / 457.8 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.3858, allocations: 0.769 MB / 458.6 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3858, allocations: 8.234 kB / 458.6 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.3861, allocations: 67.91 kB / 458.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.3862, allocations: 28.84 kB / 458.7 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.3863, allocations: 8 kB / 458.7 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.3873, allocations: 1.378 MB / 460.1 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3873, allocations: 0 / 460.1 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.3879, allocations: 496.2 kB / 460.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-05/0.388, allocations: 96.86 kB / 460.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.388, allocations: 11.95 kB / 460.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3881, allocations: 8 kB / 460.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.3882, allocations: 27.97 kB / 460.7 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.3882, allocations: 8.234 kB / 460.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.3883, allocations: 131.5 kB / 460.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3883, allocations: 0 / 460.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003736/0.3887, allocations: 75.92 kB / 460.9 MB, free: 3.223 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.3889, allocations: 103.2 kB / 461 MB, free: 3.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005051/0.3894, allocations: 330.3 kB / 461.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3894, allocations: 3.938 kB / 461.4 MB, free: 2.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.3897, allocations: 242.7 kB / 461.6 MB, free: 2.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.39, allocations: 37.17 kB / 461.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009002/0.3909, allocations: 0.582 MB / 462.2 MB, free: 1.875 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.3912, allocations: 0.7603 MB / 463 MB, free: 1.086 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.748e-05/0.3913, allocations: 22.06 kB / 463 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.3913, allocations: 19.44 kB / 463 MB, free: 1.043 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3913, allocations: 3.938 kB / 463 MB, free: 1.039 MB / 330.7 MB Notification: Performance of Templates: time 0.005078/0.3964, allocations: 2.426 MB / 465.5 MB, free: 14.62 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/First/First.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.First.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches