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.001326/0.001326, allocations: 111.6 kB / 17.06 MB, free: 6 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.001128/0.001128, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 35.94 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2717, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00352/0.2752, allocations: 2.102 MB / 402.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005633/0.2758, allocations: 163.4 kB / 403 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.276, allocations: 4 kB / 403 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.2762, allocations: 31.66 kB / 403 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.2764, allocations: 43.58 kB / 403.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.2766, allocations: 47.94 kB / 403.1 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.2769, allocations: 183.2 kB / 403.3 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.2771, allocations: 46.3 kB / 403.3 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.2772, allocations: 71.78 kB / 403.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.2773, allocations: 75.62 kB / 403.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.2774, allocations: 16 kB / 403.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.039e-05/0.2774, allocations: 12 kB / 403.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.2775, allocations: 35.84 kB / 403.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.023e-05/0.2776, allocations: 79.61 kB / 403.6 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.2778, allocations: 188.4 kB / 403.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2778, allocations: 0 / 403.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2778, allocations: 0 / 403.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.2778, allocations: 0 / 403.8 MB, free: 5.777 MB / 318.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.0005813/0.2784, allocations: 466.9 kB / 404.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2785, allocations: 11.89 kB / 404.3 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.2785, allocations: 16.75 kB / 404.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.2788, allocations: 212 kB / 404.5 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.2788, allocations: 16.38 kB / 404.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.2788, allocations: 16.38 kB / 404.5 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.2791, allocations: 194.2 kB / 404.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2792, allocations: 3.938 kB / 404.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.2792, allocations: 4 kB / 404.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2792, allocations: 8 kB / 404.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.2794, allocations: 106.4 kB / 404.8 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.2806, allocations: 0.9545 MB / 405.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.2808, allocations: 111.8 kB / 405.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.2808, allocations: 38.58 kB / 405.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.2808, allocations: 8.016 kB / 405.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2809, allocations: 34.56 kB / 406 MB, free: 3.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.2809, allocations: 0 / 406 MB, free: 3.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002939/0.2812, allocations: 133.3 kB / 406.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.2812, allocations: 106.8 kB / 406.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.2814, allocations: 211.6 kB / 406.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2815, allocations: 25.7 kB / 406.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.2815, allocations: 131.9 kB / 406.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.2816, allocations: 59.27 kB / 406.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.2817, allocations: 41.95 kB / 406.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2818, allocations: 338.8 kB / 407 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.2819, allocations: 40.45 kB / 407 MB, free: 2.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.282, allocations: 147.3 kB / 407.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.2822, allocations: 198.1 kB / 407.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2822, allocations: 0 / 407.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003053/0.2825, allocations: 225 kB / 407.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2826, allocations: 4 kB / 407.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2826, allocations: 4 kB / 407.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2826, allocations: 4 kB / 407.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.2827, allocations: 52.31 kB / 407.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2828, allocations: 4 kB / 407.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.2829, allocations: 39.62 kB / 407.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.2829, allocations: 12 kB / 407.7 MB, free: 1.453 MB / 318.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 0.0001036/0.283, allocations: 129.8 kB / 407.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.2831, allocations: 15.81 kB / 407.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.2832, allocations: 24.92 kB / 407.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2832, allocations: 0 / 407.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2832, allocations: 0 / 407.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2832, allocations: 7.938 kB / 407.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.2836, allocations: 237.5 kB / 408.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2836, allocations: 4 kB / 408.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.2837, allocations: 31.92 kB / 408.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2837, allocations: 0 / 408.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2838, allocations: 4 kB / 408.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2838, allocations: 4 kB / 408.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2838, allocations: 0 / 408.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.2841, allocations: 393.6 kB / 408.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.2841, allocations: 88.92 kB / 408.6 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.2842, allocations: 12.05 kB / 408.6 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2843, allocations: 0 / 408.6 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.2843, allocations: 11.88 kB / 408.6 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2844, allocations: 8 kB / 408.7 MB, free: 408 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.2845, allocations: 149.5 kB / 408.8 MB, free: 260 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2845, allocations: 0 / 408.8 MB, free: 260 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003724/0.2849, allocations: 39.94 kB / 408.8 MB, free: 220 kB / 318.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 9.242e-05/0.285, allocations: 111.2 kB / 409 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.2852, allocations: 108.1 kB / 409.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2852, allocations: 0 / 409.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.2852, allocations: 40.77 kB / 409.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.2857, allocations: 39.19 kB / 409.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009274/0.2867, allocations: 0.6215 MB / 409.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.287, allocations: 0.728 MB / 410.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.01e-05/0.2871, allocations: 25.92 kB / 410.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.2871, allocations: 19.44 kB / 410.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2871, allocations: 0 / 410.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of Templates: time 0.003807/0.2909, allocations: 1.366 MB / 411.9 MB, free: 13.1 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/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