Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007833/0.0007836, allocations: 91.92 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008276/0.0008275, allocations: 178.2 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.115/1.115, allocations: 223.3 MB / 242.3 MB, free: 80 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002014/0.0002015, allocations: 11.92 kB / 302.1 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07062/0.07084, allocations: 50.42 MB / 352.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001781/0.07263, allocations: 1.794 MB / 354.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002899/0.07293, allocations: 155.4 kB / 354.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.07302, allocations: 4 kB / 354.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.422e-05/0.07313, allocations: 23.86 kB / 354.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.041e-05/0.07321, allocations: 43.61 kB / 354.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.07335, allocations: 39.97 kB / 354.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.07353, allocations: 171.2 kB / 354.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.07366, allocations: 54.14 kB / 354.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.519e-05/0.07373, allocations: 55.73 kB / 354.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.07382, allocations: 67.64 kB / 354.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.07385, allocations: 8 kB / 354.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/0.07387, allocations: 8 kB / 354.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.0739, allocations: 27.84 kB / 354.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.07399, allocations: 97.31 kB / 355 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.07412, allocations: 127.9 kB / 355.1 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.07412, allocations: 4 kB / 355.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.07413, allocations: 0 / 355.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.07414, allocations: 0 / 355.2 MB, free: 0.9883 MB / 286.1 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.0004394/0.07458, allocations: 438.9 kB / 355.6 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.07462, allocations: 8.031 kB / 355.6 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.07466, allocations: 24.75 kB / 355.6 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.07485, allocations: 224 kB / 355.8 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.07487, allocations: 8.375 kB / 355.8 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.0749, allocations: 20.38 kB / 355.9 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.07517, allocations: 186.2 kB / 356 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.07519, allocations: 3.938 kB / 356 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.07521, allocations: 8 kB / 356.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.07522, allocations: 8 kB / 356.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.07538, allocations: 99.88 kB / 356.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.07642, allocations: 0.9547 MB / 357.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.07655, allocations: 107.8 kB / 357.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.07661, allocations: 42.66 kB / 357.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.07662, allocations: 4 kB / 357.3 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.07665, allocations: 34.56 kB / 357.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.515e-06/0.07666, allocations: 4 kB / 357.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002523/0.07692, allocations: 129.3 kB / 357.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.07698, allocations: 102.8 kB / 357.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.07714, allocations: 207.7 kB / 357.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.07716, allocations: 37.7 kB / 357.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.07724, allocations: 139.8 kB / 357.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.07727, allocations: 43.36 kB / 357.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.07731, allocations: 29.7 kB / 358 MB, free: 13.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.0774, allocations: 330.8 kB / 358.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.07747, allocations: 36.45 kB / 358.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.07758, allocations: 146.5 kB / 358.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.07778, allocations: 205.5 kB / 358.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.07779, allocations: 0 / 358.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002664/0.07806, allocations: 218 kB / 358.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.07807, allocations: 4 kB / 358.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.07809, allocations: 7.984 kB / 358.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.0781, allocations: 12.08 kB / 358.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.07824, allocations: 43.92 kB / 359 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.07826, allocations: 11.94 kB / 359 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.07837, allocations: 35.61 kB / 359 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.07838, allocations: 8 kB / 359 MB, free: 12.72 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/0.07848, allocations: 137.8 kB / 359.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.07854, allocations: 23.8 kB / 359.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.07859, allocations: 20.94 kB / 359.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.0786, allocations: 0 / 359.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.07861, allocations: 4 kB / 359.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.07861, allocations: 3.938 kB / 359.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.07898, allocations: 241.5 kB / 359.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.07899, allocations: 0 / 359.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.07912, allocations: 31.92 kB / 359.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.07913, allocations: 0 / 359.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.07915, allocations: 4 kB / 359.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.07916, allocations: 4 kB / 359.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.07916, allocations: 3.984 kB / 359.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.07941, allocations: 384.6 kB / 359.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.07947, allocations: 100.8 kB / 360 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.0795, allocations: 4.125 kB / 360 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.07964, allocations: 8.062 kB / 360 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.07967, allocations: 15.88 kB / 360 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.07968, allocations: 3.984 kB / 360 MB, free: 11.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000103/0.07978, allocations: 153.5 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07979, allocations: 0 / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00033/0.08012, allocations: 43.91 kB / 360.2 MB, free: 11.46 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.645e-05/0.0802, allocations: 95.25 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.08037, allocations: 111.8 kB / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.08038, allocations: 0 / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.243e-05/0.08042, allocations: 31.92 kB / 360.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.0809, allocations: 31.92 kB / 360.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008531/0.08176, allocations: 0.7994 MB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.082, allocations: 0.7206 MB / 362 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.08204, allocations: 19.44 kB / 362 MB, free: 9.582 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.08204, allocations: 4 kB / 362 MB, free: 9.578 MB / 302.1 MB Notification: Performance of Templates: time 0.00297/0.08502, allocations: 1.959 MB / 363.9 MB, free: 7.621 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches