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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 113.6 kB / 17.06 MB, free: 6.012 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.002028/0.002028, allocations: 191 kB / 18 MB, free: 5.098 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.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 51.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2524, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003992/0.2565, allocations: 2.098 MB / 402.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003919/0.2569, allocations: 163.4 kB / 402.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.257, allocations: 7.938 kB / 402.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2572, allocations: 27.72 kB / 402.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.2573, allocations: 47.56 kB / 402.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.2575, allocations: 39.89 kB / 402.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.2577, allocations: 183.2 kB / 402.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.2579, allocations: 58.28 kB / 402.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.653e-05/0.258, allocations: 63.8 kB / 402.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.2582, allocations: 79.61 kB / 403 MB, free: 6.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.2582, allocations: 19.94 kB / 403 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.617e-05/0.2582, allocations: 12 kB / 403 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.2583, allocations: 31.86 kB / 403 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.2584, allocations: 83.61 kB / 403.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.2586, allocations: 182.3 kB / 403.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2586, allocations: 4 kB / 403.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2587, allocations: 0 / 403.3 MB, free: 5.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2587, allocations: 0 / 403.3 MB, free: 5.723 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.000717/0.2594, allocations: 466.7 kB / 403.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2594, allocations: 12.03 kB / 403.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.32e-05/0.2595, allocations: 54.72 kB / 403.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.2596, allocations: 20.84 kB / 403.8 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.2599, allocations: 216.1 kB / 404.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.2599, allocations: 8.375 kB / 404.1 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.283e-05/0.26, allocations: 24.31 kB / 404.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.2603, allocations: 190 kB / 404.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.2604, allocations: 0 / 404.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.2604, allocations: 8 kB / 404.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.2604, allocations: 4 kB / 404.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.2606, allocations: 103.9 kB / 404.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.2619, allocations: 0.9625 MB / 405.3 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.2621, allocations: 99.83 kB / 405.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.2621, allocations: 46.66 kB / 405.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.2622, allocations: 4 kB / 405.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.2622, allocations: 38.5 kB / 405.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.2622, allocations: 0 / 405.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003089/0.2625, allocations: 126 kB / 405.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.2626, allocations: 102.8 kB / 405.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.2628, allocations: 215.7 kB / 406 MB, free: 2.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2629, allocations: 29.7 kB / 406 MB, free: 2.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.2629, allocations: 144.1 kB / 406.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.263, allocations: 51.58 kB / 406.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.2631, allocations: 45.94 kB / 406.2 MB, free: 2.484 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2632, allocations: 326.8 kB / 406.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.2633, allocations: 40.39 kB / 406.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.2635, allocations: 147.3 kB / 406.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.2637, allocations: 197.6 kB / 406.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2637, allocations: 3.938 kB / 406.9 MB, free: 1.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003032/0.264, allocations: 225.2 kB / 407.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2641, allocations: 11.98 kB / 407.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2641, allocations: 0 / 407.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2641, allocations: 8 kB / 407.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.2643, allocations: 43.92 kB / 407.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2643, allocations: 8 kB / 407.2 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.2644, allocations: 31.72 kB / 407.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2644, allocations: 12 kB / 407.3 MB, free: 1.34 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.0001145/0.2646, allocations: 141.9 kB / 407.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.122e-05/0.2646, allocations: 23.89 kB / 407.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.2647, allocations: 16.94 kB / 407.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.2647, allocations: 0 / 407.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.2647, allocations: 4 kB / 407.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.2647, allocations: 7.922 kB / 407.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.2651, allocations: 233.5 kB / 407.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2652, allocations: 0 / 407.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2653, allocations: 31.98 kB / 407.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2653, allocations: 0 / 407.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.2653, allocations: 15.94 kB / 407.7 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.2654, allocations: 3.984 kB / 407.7 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2654, allocations: 0 / 407.7 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.2657, allocations: 385.8 kB / 408.1 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.2657, allocations: 96.94 kB / 408.2 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.2658, allocations: 4.062 kB / 408.2 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.2659, allocations: 8 kB / 408.2 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.2659, allocations: 12.06 kB / 408.2 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.2659, allocations: 0 / 408.2 MB, free: 280 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.2661, allocations: 157.5 kB / 408.4 MB, free: 124 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2661, allocations: 0 / 408.4 MB, free: 124 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.2664, allocations: 36 kB / 408.4 MB, free: 88 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.000598/0.267, allocations: 0.9257 MB / 409.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.2673, allocations: 103.8 kB / 409.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2673, allocations: 0.8125 kB / 409.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/0.2674, allocations: 39.92 kB / 409.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.2679, allocations: 38.38 kB / 409.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.2706, allocations: 2.643 MB / 412.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.271, allocations: 0.7281 MB / 412.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.958e-05/0.271, allocations: 13.95 kB / 412.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.2711, allocations: 51.42 kB / 413 MB, free: 11.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.445e-06/0.2711, allocations: 0 / 413 MB, free: 11.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.2906, allocations: 3.464 MB / 416.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.853, allocations: 0 / 416.4 MB, free: 7.949 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/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