Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 179.4 kB / 16.41 MB, free: 5.707 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.29/1.29, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007794/0.0007794, allocations: 103.9 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002858, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1948, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.001964/0.1968, allocations: 1.965 MB / 376.5 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006962/0.1975, allocations: 0.5859 MB / 377.1 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.687e-05/0.1976, allocations: 8.281 kB / 377.1 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.712e-05/0.1977, allocations: 26.59 kB / 377.1 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.369e-05/0.1978, allocations: 56.09 kB / 377.2 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.198, allocations: 46.61 kB / 377.2 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1982, allocations: 242.7 kB / 377.5 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1984, allocations: 64.97 kB / 377.5 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1985, allocations: 87.45 kB / 377.6 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1986, allocations: 83.72 kB / 377.7 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1986, allocations: 10.44 kB / 377.7 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.362e-05/0.1987, allocations: 17.91 kB / 377.7 MB, free: 43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.1987, allocations: 38.73 kB / 377.8 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.1987, allocations: 64.02 kB / 377.8 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1989, allocations: 171.3 kB / 378 MB, free: 42.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1989, allocations: 3.938 kB / 378 MB, free: 42.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1989, allocations: 1.062 kB / 378 MB, free: 42.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1989, allocations: 0 / 378 MB, free: 42.8 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004943/0.1994, allocations: 491.8 kB / 378.5 MB, free: 42.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1995, allocations: 9.125 kB / 378.5 MB, free: 42.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.15e-05/0.1995, allocations: 24.59 kB / 378.5 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1998, allocations: 239.6 kB / 378.7 MB, free: 42.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1998, allocations: 13.5 kB / 378.8 MB, free: 42.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1998, allocations: 21.22 kB / 378.8 MB, free: 42.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.2002, allocations: 211.2 kB / 379 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.2002, allocations: 5.375 kB / 379 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.2002, allocations: 10.91 kB / 379 MB, free: 41.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2002, allocations: 12.33 kB / 379 MB, free: 41.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.2005, allocations: 125.5 kB / 379.1 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.2013, allocations: 0.7132 MB / 379.8 MB, free: 41.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.2016, allocations: 153.3 kB / 380 MB, free: 41.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.2017, allocations: 69.42 kB / 380.1 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.2017, allocations: 2.969 kB / 380.1 MB, free: 41.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2017, allocations: 39.95 kB / 380.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.2017, allocations: 3.938 kB / 380.1 MB, free: 41.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001301/0.203, allocations: 0.8901 MB / 381 MB, free: 40.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.2031, allocations: 62.86 kB / 381.1 MB, free: 40.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2032, allocations: 171.9 kB / 381.2 MB, free: 40.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.2032, allocations: 30.98 kB / 381.3 MB, free: 40.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.2033, allocations: 146 kB / 381.4 MB, free: 39.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.2033, allocations: 85.08 kB / 381.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/0.2033, allocations: 1.469 kB / 381.5 MB, free: 39.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.197e-05/0.2034, allocations: 336 kB / 381.8 MB, free: 39.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.2035, allocations: 51.14 kB / 381.9 MB, free: 39.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.2036, allocations: 104 kB / 382 MB, free: 39.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.2038, allocations: 71.14 kB / 382 MB, free: 39.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2038, allocations: 0.5 kB / 382 MB, free: 39.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003833/0.2042, allocations: 261 kB / 382.3 MB, free: 39.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2042, allocations: 13.48 kB / 382.3 MB, free: 39.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2042, allocations: 1.406 kB / 382.3 MB, free: 39.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.2044, allocations: 34.61 kB / 382.3 MB, free: 39.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.2046, allocations: 52.16 kB / 382.4 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008197/0.2054, allocations: 1.363 MB / 383.8 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.2055, allocations: 17.17 kB / 383.8 MB, free: 37.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.2056, allocations: 10.88 kB / 383.8 MB, free: 37.84 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 9.618e-05/0.2057, allocations: 135 kB / 383.9 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.2057, allocations: 21.67 kB / 383.9 MB, free: 37.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.2057, allocations: 28.55 kB / 384 MB, free: 37.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2058, allocations: 2.844 kB / 384 MB, free: 37.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2058, allocations: 1.406 kB / 384 MB, free: 37.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2058, allocations: 4 kB / 384 MB, free: 37.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007525/0.2065, allocations: 0.6583 MB / 384.6 MB, free: 37.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2065, allocations: 0.9062 kB / 384.6 MB, free: 37.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.2068, allocations: 44.09 kB / 384.7 MB, free: 37.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.2069, allocations: 33.28 kB / 384.7 MB, free: 37.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.2069, allocations: 10.91 kB / 384.7 MB, free: 37.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007642/0.2077, allocations: 1.377 MB / 386.1 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2077, allocations: 4.969 kB / 386.1 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.2082, allocations: 409.3 kB / 386.5 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.2082, allocations: 102.1 kB / 386.6 MB, free: 35.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.2083, allocations: 1.938 kB / 386.6 MB, free: 35.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.2084, allocations: 9.219 kB / 386.6 MB, free: 35.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.2085, allocations: 31.84 kB / 386.6 MB, free: 35.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2085, allocations: 4.281 kB / 386.6 MB, free: 35.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.046e-05/0.2086, allocations: 127.6 kB / 386.8 MB, free: 35.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2086, allocations: 0 / 386.8 MB, free: 35.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003174/0.2089, allocations: 57.22 kB / 386.8 MB, free: 35.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (21): * Single equations (assignments): 20 * 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.0001101/0.209, allocations: 98.28 kB / 386.9 MB, free: 35.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.2095, allocations: 310.4 kB / 387.2 MB, free: 34.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2096, allocations: 1.344 kB / 387.2 MB, free: 34.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.2098, allocations: 217.7 kB / 387.4 MB, free: 34.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.2103, allocations: 44.27 kB / 387.5 MB, free: 34.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.2114, allocations: 0.8456 MB / 388.3 MB, free: 33.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2116, allocations: 0.7554 MB / 389.1 MB, free: 33.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.2117, allocations: 19.03 kB / 389.1 MB, free: 33.24 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2117, allocations: 1.438 kB / 389.1 MB, free: 33.24 MB / 298.7 MB Notification: Performance of Templates: time 0.004199/0.2159, allocations: 3.407 MB / 392.5 MB, free: 30.05 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches