Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.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.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009305/0.0009304, allocations: 178.8 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.281/1.281, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0007907/0.0007907, allocations: 88.67 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004817, allocations: 12 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 47.56 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001869/0.211, allocations: 1.735 MB / 376.3 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002663/0.2112, allocations: 165.2 kB / 376.4 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.2113, allocations: 3.688 kB / 376.4 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.551e-05/0.2114, allocations: 23.69 kB / 376.5 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.099e-05/0.2115, allocations: 40.62 kB / 376.5 MB, free: 43.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.2116, allocations: 29.88 kB / 376.5 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.2118, allocations: 162.5 kB / 376.7 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2119, allocations: 49.56 kB / 376.7 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.212, allocations: 55.09 kB / 376.8 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.2121, allocations: 57.78 kB / 376.9 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.2121, allocations: 7.75 kB / 376.9 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.019e-05/0.2122, allocations: 7.531 kB / 376.9 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.2122, allocations: 36.52 kB / 376.9 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.2123, allocations: 57.05 kB / 377 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.2124, allocations: 128.6 kB / 377.1 MB, free: 43.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.2124, allocations: 0 / 377.1 MB, free: 43.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2125, allocations: 5.531 kB / 377.1 MB, free: 43.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2125, allocations: 0 / 377.1 MB, free: 43.47 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005031/0.213, allocations: 435.4 kB / 377.5 MB, free: 43.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.213, allocations: 17.33 kB / 377.5 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.2131, allocations: 21.91 kB / 377.6 MB, free: 43.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.2132, allocations: 210.2 kB / 377.8 MB, free: 42.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.2133, allocations: 10.25 kB / 377.8 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.2133, allocations: 23.31 kB / 377.8 MB, free: 42.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.2136, allocations: 183.4 kB / 378 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.2136, allocations: 9.375 kB / 378 MB, free: 42.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.2136, allocations: 13.27 kB / 378 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2136, allocations: 8.406 kB / 378 MB, free: 42.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.2138, allocations: 95.02 kB / 378.1 MB, free: 42.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.2148, allocations: 0.9504 MB / 379 MB, free: 41.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.215, allocations: 93.97 kB / 379.1 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.215, allocations: 56.61 kB / 379.2 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.215, allocations: 1.062 kB / 379.2 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.215, allocations: 32.78 kB / 379.2 MB, free: 41.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.2151, allocations: 0 / 379.2 MB, free: 41.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002665/0.2153, allocations: 127.2 kB / 379.3 MB, free: 41.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.2154, allocations: 116 kB / 379.5 MB, free: 41.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.2155, allocations: 211.6 kB / 379.7 MB, free: 41.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.2155, allocations: 25.7 kB / 379.7 MB, free: 41.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.2156, allocations: 141 kB / 379.8 MB, free: 40.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.2156, allocations: 49.14 kB / 379.9 MB, free: 40.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.2156, allocations: 5.062 kB / 379.9 MB, free: 40.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.983e-05/0.2157, allocations: 331.3 kB / 380.2 MB, free: 40.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.206e-05/0.2158, allocations: 36.89 kB / 380.2 MB, free: 40.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.559e-05/0.2159, allocations: 144.7 kB / 380.4 MB, free: 40.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.673e-05/0.216, allocations: 57.25 kB / 380.4 MB, free: 40.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.216, allocations: 0.6562 kB / 380.4 MB, free: 40.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002652/0.2162, allocations: 215 kB / 380.7 MB, free: 40.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2163, allocations: 11.11 kB / 380.7 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2163, allocations: 2.688 kB / 380.7 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2163, allocations: 6.031 kB / 380.7 MB, free: 40.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.2165, allocations: 50.36 kB / 380.7 MB, free: 40.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2165, allocations: 6.062 kB / 380.7 MB, free: 40.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.2166, allocations: 36.23 kB / 380.8 MB, free: 40.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.2166, allocations: 13.84 kB / 380.8 MB, free: 40.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/0.2167, allocations: 125.7 kB / 380.9 MB, free: 40.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-05/0.2167, allocations: 24.86 kB / 380.9 MB, free: 40.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.2168, allocations: 18.98 kB / 380.9 MB, free: 40.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2168, allocations: 5.25 kB / 380.9 MB, free: 40.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2168, allocations: 1.094 kB / 380.9 MB, free: 40.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2168, allocations: 1.188 kB / 380.9 MB, free: 40.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.2171, allocations: 248.5 kB / 381.2 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2172, allocations: 4 kB / 381.2 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.2173, allocations: 35.8 kB / 381.2 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2173, allocations: 2.469 kB / 381.2 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2173, allocations: 9.266 kB / 381.2 MB, free: 39.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2173, allocations: 5.234 kB / 381.2 MB, free: 39.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2173, allocations: 1.406 kB / 381.2 MB, free: 39.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.2176, allocations: 378.1 kB / 381.6 MB, free: 39.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.2176, allocations: 94.19 kB / 381.7 MB, free: 39.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.2176, allocations: 11.16 kB / 381.7 MB, free: 39.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.2178, allocations: 0 / 381.7 MB, free: 39.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.2178, allocations: 8.766 kB / 381.7 MB, free: 39.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.2178, allocations: 2.938 kB / 381.7 MB, free: 39.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.057e-05/0.2179, allocations: 148.3 kB / 381.9 MB, free: 39.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2179, allocations: 0.9375 kB / 381.9 MB, free: 39.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003489/0.2183, allocations: 43.38 kB / 381.9 MB, free: 39.19 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * 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 (12): * Single equations (assignments): 12 * 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 7.708e-05/0.2184, allocations: 97.81 kB / 382 MB, free: 39.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.2186, allocations: 109.9 kB / 382.1 MB, free: 39.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2186, allocations: 0.9375 kB / 382.1 MB, free: 39.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.2186, allocations: 38.33 kB / 382.2 MB, free: 39.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.2191, allocations: 29.84 kB / 382.2 MB, free: 39.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.2199, allocations: 0.7838 MB / 383 MB, free: 38.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.2201, allocations: 0.7271 MB / 383.7 MB, free: 37.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.2201, allocations: 17.44 kB / 383.7 MB, free: 37.61 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2201, allocations: 0 / 383.7 MB, free: 37.61 MB / 298.7 MB Notification: Performance of Templates: time 0.002933/0.2231, allocations: 1.951 MB / 385.7 MB, free: 36.61 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches