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.001404/0.001404, allocations: 108.3 kB / 17.74 MB, free: 5.277 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.001534/0.001534, allocations: 187 kB / 18.67 MB, free: 4.352 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.386/1.386, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.304, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003422/0.3075, allocations: 2.101 MB / 403.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004082/0.3079, allocations: 163.4 kB / 403.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.3081, allocations: 4 kB / 403.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.3082, allocations: 27.67 kB / 403.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/0.3083, allocations: 43.56 kB / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.3085, allocations: 43.94 kB / 403.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.3087, allocations: 183.2 kB / 403.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.3089, allocations: 66.27 kB / 404 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.309, allocations: 63.78 kB / 404.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3091, allocations: 67.64 kB / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.3092, allocations: 16 kB / 404.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.864e-05/0.3092, allocations: 12 kB / 404.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.3092, allocations: 39.86 kB / 404.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.903e-05/0.3093, allocations: 83.58 kB / 404.3 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.3096, allocations: 184.4 kB / 404.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3096, allocations: 0 / 404.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3096, allocations: 0 / 404.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3096, allocations: 4 kB / 404.5 MB, free: 5.793 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.0006217/0.3102, allocations: 454.9 kB / 404.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3103, allocations: 15.89 kB / 404.9 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.3103, allocations: 24.75 kB / 405 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.3106, allocations: 216 kB / 405.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3106, allocations: 12.38 kB / 405.2 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.3107, allocations: 20.38 kB / 405.2 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.311, allocations: 190.2 kB / 405.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.311, allocations: 3.938 kB / 405.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.311, allocations: 8 kB / 405.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3111, allocations: 4 kB / 405.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.3112, allocations: 103.9 kB / 405.5 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.3125, allocations: 0.9506 MB / 406.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.3126, allocations: 103.7 kB / 406.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.492e-05/0.3127, allocations: 42.75 kB / 406.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.3127, allocations: 8 kB / 406.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3128, allocations: 38.5 kB / 406.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.3128, allocations: 0 / 406.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000306/0.3131, allocations: 129.8 kB / 406.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3131, allocations: 102.8 kB / 406.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3134, allocations: 211.6 kB / 407.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3134, allocations: 33.7 kB / 407.1 MB, free: 2.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3135, allocations: 143.9 kB / 407.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.3136, allocations: 47.3 kB / 407.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.3136, allocations: 45.94 kB / 407.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3138, allocations: 330.8 kB / 407.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.3138, allocations: 36.45 kB / 407.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.314, allocations: 147.3 kB / 407.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.3142, allocations: 205.6 kB / 408 MB, free: 1.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3142, allocations: 0 / 408 MB, free: 1.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003069/0.3145, allocations: 221.3 kB / 408.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3146, allocations: 8 kB / 408.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3146, allocations: 0 / 408.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3146, allocations: 11.94 kB / 408.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3148, allocations: 43.92 kB / 408.3 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3148, allocations: 8 kB / 408.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.3149, allocations: 31.62 kB / 408.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.3149, allocations: 11.98 kB / 408.4 MB, free: 1.48 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.0001134/0.3151, allocations: 137.9 kB / 408.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.3151, allocations: 15.81 kB / 408.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.3152, allocations: 20.94 kB / 408.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3152, allocations: 3.984 kB / 408.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3152, allocations: 4 kB / 408.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3152, allocations: 3.938 kB / 408.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.3156, allocations: 237.5 kB / 408.8 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3157, allocations: 3.984 kB / 408.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.3158, allocations: 31.92 kB / 408.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3158, allocations: 0 / 408.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3158, allocations: 8 kB / 408.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3159, allocations: 0 / 408.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3159, allocations: 0 / 408.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3162, allocations: 393.8 kB / 409.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.3163, allocations: 96.98 kB / 409.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.3163, allocations: 4 kB / 409.3 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3164, allocations: 8.062 kB / 409.3 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.3165, allocations: 23.84 kB / 409.3 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3165, allocations: 0 / 409.3 MB, free: 416 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3166, allocations: 157.5 kB / 409.5 MB, free: 260 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3166, allocations: 0 / 409.5 MB, free: 260 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003745/0.317, allocations: 39.94 kB / 409.5 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 0.0001156/0.3171, allocations: 95.25 kB / 409.6 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.3173, allocations: 115.8 kB / 409.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3174, allocations: 3.938 kB / 409.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.976e-05/0.3174, allocations: 35.88 kB / 409.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.3179, allocations: 31.06 kB / 409.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/0.3189, allocations: 0.6438 MB / 410.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.3192, allocations: 0.728 MB / 411.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.3193, allocations: 23.38 kB / 411.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3193, allocations: 0 / 411.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of Templates: time 0.003629/0.3229, allocations: 2.006 MB / 413.2 MB, free: 12.47 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/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