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.001097/0.001096, allocations: 167.2 kB / 16.72 MB, free: 4.965 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.364/1.364, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007922/0.0007924, allocations: 90.53 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.000314, allocations: 11.98 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2154, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.002324/0.2177, allocations: 1.972 MB / 377.1 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000784/0.2185, allocations: 0.5853 MB / 377.6 MB, free: 43.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.2187, allocations: 8.562 kB / 377.6 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.2188, allocations: 23.16 kB / 377.7 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.2189, allocations: 63.41 kB / 377.7 MB, free: 43.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.2191, allocations: 38.77 kB / 377.8 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.2193, allocations: 244.3 kB / 378 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.2195, allocations: 65.83 kB / 378.1 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.2196, allocations: 92.02 kB / 378.2 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.2198, allocations: 87.2 kB / 378.2 MB, free: 43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.2198, allocations: 14.97 kB / 378.3 MB, free: 43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.723e-05/0.2199, allocations: 10.44 kB / 378.3 MB, free: 43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.2199, allocations: 39.09 kB / 378.3 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.22, allocations: 122.6 kB / 378.4 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.2202, allocations: 172 kB / 378.6 MB, free: 42.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2202, allocations: 0 / 378.6 MB, free: 42.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2202, allocations: 1.188 kB / 378.6 MB, free: 42.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.2202, allocations: 0 / 378.6 MB, free: 42.75 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.0005511/0.2207, allocations: 498.7 kB / 379.1 MB, free: 42.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2208, allocations: 8.469 kB / 379.1 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.2208, allocations: 24.72 kB / 379.1 MB, free: 42.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.221, allocations: 237.9 kB / 379.4 MB, free: 42.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.2211, allocations: 18.06 kB / 379.4 MB, free: 42.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.2211, allocations: 17.75 kB / 379.4 MB, free: 42.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.2214, allocations: 219.5 kB / 379.6 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2215, allocations: 4.969 kB / 379.6 MB, free: 41.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.2215, allocations: 10.12 kB / 379.6 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2215, allocations: 5.219 kB / 379.6 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.2217, allocations: 128.4 kB / 379.7 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008351/0.2226, allocations: 0.7135 MB / 380.5 MB, free: 41.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.2229, allocations: 147.6 kB / 380.6 MB, free: 41.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.223, allocations: 73.34 kB / 380.7 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.223, allocations: 6.375 kB / 380.7 MB, free: 41.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.223, allocations: 40.03 kB / 380.7 MB, free: 41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.2231, allocations: 0 / 380.7 MB, free: 41 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001349/0.2244, allocations: 0.8952 MB / 381.6 MB, free: 40.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.2244, allocations: 54.06 kB / 381.7 MB, free: 40.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2246, allocations: 183.1 kB / 381.8 MB, free: 40.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.2246, allocations: 27.17 kB / 381.9 MB, free: 40.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.2247, allocations: 141.8 kB / 382 MB, free: 39.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.728e-05/0.2247, allocations: 89.25 kB / 382.1 MB, free: 39.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.2248, allocations: 5.469 kB / 382.1 MB, free: 39.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.2248, allocations: 338.8 kB / 382.4 MB, free: 39.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.2249, allocations: 51.83 kB / 382.5 MB, free: 39.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.2251, allocations: 100.1 kB / 382.6 MB, free: 39.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.2253, allocations: 174.3 kB / 382.8 MB, free: 39.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2253, allocations: 1.188 kB / 382.8 MB, free: 39.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000397/0.2257, allocations: 260.4 kB / 383 MB, free: 39.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2258, allocations: 5.188 kB / 383 MB, free: 39.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2258, allocations: 1.125 kB / 383 MB, free: 39.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.2259, allocations: 31.62 kB / 383 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.2261, allocations: 51.25 kB / 383.1 MB, free: 39.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007992/0.2269, allocations: 1.379 MB / 384.5 MB, free: 37.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.2271, allocations: 9.062 kB / 384.5 MB, free: 37.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.2271, allocations: 15 kB / 384.5 MB, free: 37.71 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.831e-05/0.2272, allocations: 135.6 kB / 384.6 MB, free: 37.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.2272, allocations: 16.31 kB / 384.6 MB, free: 37.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.2273, allocations: 30.39 kB / 384.7 MB, free: 37.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2273, allocations: 2.844 kB / 384.7 MB, free: 37.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2273, allocations: 0 / 384.7 MB, free: 37.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2273, allocations: 5.344 kB / 384.7 MB, free: 37.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007443/0.2281, allocations: 0.6612 MB / 385.3 MB, free: 36.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2281, allocations: 1.469 kB / 385.3 MB, free: 36.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.2283, allocations: 46.19 kB / 385.4 MB, free: 36.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.2284, allocations: 42.39 kB / 385.4 MB, free: 36.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.2284, allocations: 5.344 kB / 385.4 MB, free: 36.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007331/0.2292, allocations: 1.382 MB / 386.8 MB, free: 35.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2292, allocations: 5.594 kB / 386.8 MB, free: 35.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.2297, allocations: 404.8 kB / 387.2 MB, free: 35.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.2297, allocations: 98.08 kB / 387.3 MB, free: 35.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.2297, allocations: 2.562 kB / 387.3 MB, free: 35.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2299, allocations: 8.25 kB / 387.3 MB, free: 35.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.2299, allocations: 20.56 kB / 387.3 MB, free: 35.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.2299, allocations: 9.375 kB / 387.4 MB, free: 35.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.287e-05/0.23, allocations: 130.1 kB / 387.5 MB, free: 35.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.23, allocations: 0 / 387.5 MB, free: 35.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.2303, allocations: 57.88 kB / 387.5 MB, free: 35.01 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.0001019/0.2305, allocations: 102.2 kB / 387.6 MB, free: 34.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004896/0.2309, allocations: 302.4 kB / 387.9 MB, free: 34.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.231, allocations: 5.125 kB / 387.9 MB, free: 34.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.2312, allocations: 213.2 kB / 388.2 MB, free: 34.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.2317, allocations: 35.98 kB / 388.2 MB, free: 34.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.2328, allocations: 0.8485 MB / 389 MB, free: 33.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.233, allocations: 0.7518 MB / 389.8 MB, free: 33.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.2331, allocations: 20 kB / 389.8 MB, free: 33.12 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2331, allocations: 0 / 389.8 MB, free: 33.12 MB / 298.7 MB Notification: Performance of Templates: time 0.003998/0.2371, allocations: 3.418 MB / 393.2 MB, free: 29.72 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