Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001002, allocations: 195.3 kB / 17.38 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.262/1.262, allocations: 226.5 MB / 244.7 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007306/0.0007304, allocations: 83.61 kB / 296.8 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002087/0.0002087, allocations: 7.984 kB / 356.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2019, allocations: 51.29 MB / 408 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.001761/0.2037, allocations: 2.027 MB / 410.1 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003658/0.2041, allocations: 242.9 kB / 410.3 MB, free: 25.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.2042, allocations: 12.81 kB / 410.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.2043, allocations: 31.7 kB / 410.3 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.2045, allocations: 71.06 kB / 410.4 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.2046, allocations: 47.94 kB / 410.5 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.2048, allocations: 270.7 kB / 410.7 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.205, allocations: 83.92 kB / 410.8 MB, free: 24.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.2051, allocations: 83.66 kB / 410.9 MB, free: 24.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.2052, allocations: 108 kB / 411 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.2052, allocations: 12.69 kB / 411 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.488e-05/0.2053, allocations: 12 kB / 411 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.2053, allocations: 36.39 kB / 411.1 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.115e-05/0.2054, allocations: 150 kB / 411.2 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.2056, allocations: 204.3 kB / 411.4 MB, free: 24.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.2056, allocations: 4 kB / 411.4 MB, free: 24.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2056, allocations: 2.188 kB / 411.4 MB, free: 24.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2056, allocations: 0 / 411.4 MB, free: 24.3 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005491/0.2062, allocations: 0.4984 MB / 411.9 MB, free: 23.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2062, allocations: 12.03 kB / 411.9 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.2063, allocations: 28.56 kB / 411.9 MB, free: 23.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.2065, allocations: 248.5 kB / 412.2 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.2065, allocations: 16.94 kB / 412.2 MB, free: 23.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.2065, allocations: 28.38 kB / 412.2 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.2069, allocations: 236 kB / 412.5 MB, free: 23.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.2069, allocations: 12.03 kB / 412.5 MB, free: 23.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.2069, allocations: 11.94 kB / 412.5 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.2069, allocations: 4 kB / 412.5 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.2072, allocations: 155.9 kB / 412.6 MB, free: 22.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007976/0.208, allocations: 0.8047 MB / 413.4 MB, free: 22.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.2084, allocations: 295.1 kB / 413.7 MB, free: 21.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.2086, allocations: 130.8 kB / 413.9 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2086, allocations: 11.88 kB / 413.9 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.2086, allocations: 42.5 kB / 413.9 MB, free: 21.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.2086, allocations: 0 / 413.9 MB, free: 21.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001935/0.2106, allocations: 1.934 MB / 415.9 MB, free: 19.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.2106, allocations: 114.8 kB / 416 MB, free: 19.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2107, allocations: 198.8 kB / 416.2 MB, free: 19.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2108, allocations: 33.7 kB / 416.2 MB, free: 19.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.2108, allocations: 140.8 kB / 416.3 MB, free: 18.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.2109, allocations: 161.6 kB / 416.5 MB, free: 18.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.2109, allocations: 8 kB / 416.5 MB, free: 18.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.211, allocations: 338.8 kB / 416.8 MB, free: 18.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2111, allocations: 84.84 kB / 416.9 MB, free: 18.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.2113, allocations: 158.3 kB / 417.1 MB, free: 18.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.2116, allocations: 274.1 kB / 417.3 MB, free: 17.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2116, allocations: 4 kB / 417.3 MB, free: 17.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003886/0.212, allocations: 339.6 kB / 417.7 MB, free: 17.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.212, allocations: 11.94 kB / 417.7 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.212, allocations: 0 / 417.7 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.212, allocations: 7.984 kB / 417.7 MB, free: 17.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.2123, allocations: 91.84 kB / 417.8 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2123, allocations: 4 kB / 417.8 MB, free: 17.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.951e-05/0.2124, allocations: 12 kB / 417.8 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.2125, allocations: 12.94 kB / 417.8 MB, free: 17.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.2126, allocations: 153.8 kB / 418 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.2127, allocations: 35.64 kB / 418 MB, free: 17.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.643e-05/0.2127, allocations: 37.81 kB / 418 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.2127, allocations: 4 kB / 418 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2128, allocations: 4 kB / 418 MB, free: 17.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2128, allocations: 3.984 kB / 418 MB, free: 17.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.2138, allocations: 1.051 MB / 419.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2138, allocations: 4 kB / 419.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.2141, allocations: 91.83 kB / 419.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.2142, allocations: 7.938 kB / 419.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.2142, allocations: 16 kB / 419.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.2142, allocations: 12.28 kB / 419.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2142, allocations: 4 kB / 419.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.2148, allocations: 0.7093 MB / 419.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.2148, allocations: 100.8 kB / 420 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.2148, allocations: 16 kB / 420 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.215, allocations: 8 kB / 420 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2151, allocations: 39.89 kB / 420.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2151, allocations: 12 kB / 420.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.504e-05/0.2152, allocations: 136.5 kB / 420.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2152, allocations: 0 / 420.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.2156, allocations: 75.94 kB / 420.3 MB, free: 14.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001125/0.2157, allocations: 111.2 kB / 420.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.2161, allocations: 273.1 kB / 420.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2161, allocations: 4 kB / 420.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.2162, allocations: 135.8 kB / 420.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006922/0.2169, allocations: 73.61 kB / 420.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.2181, allocations: 1.113 MB / 422 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.2182, allocations: 0.7685 MB / 422.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.2183, allocations: 31.44 kB / 422.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2183, allocations: 3.938 kB / 422.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of Templates: time 0.004026/0.2224, allocations: 3.4 MB / 426.2 MB, free: 8.688 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches