Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_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.001307/0.001307, allocations: 113.2 kB / 17.73 MB, free: 5.336 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.001283/0.001283, allocations: 188.2 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/0.09625, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003536/0.09982, allocations: 2.088 MB / 376.7 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004062/0.1003, allocations: 155.4 kB / 376.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1004, allocations: 4 kB / 376.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.1006, allocations: 31.66 kB / 376.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.064e-05/0.1007, allocations: 47.56 kB / 377 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.1008, allocations: 43.94 kB / 377 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.1011, allocations: 183.2 kB / 377.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.1013, allocations: 70.02 kB / 377.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/0.1014, allocations: 59.8 kB / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1015, allocations: 71.62 kB / 377.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.1016, allocations: 16 kB / 377.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.957e-05/0.1016, allocations: 12 kB / 377.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.1016, allocations: 27.92 kB / 377.4 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.721e-05/0.1017, allocations: 91.52 kB / 377.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.102, allocations: 183.1 kB / 377.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.102, allocations: 4 kB / 377.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.102, allocations: 0 / 377.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.102, allocations: 0 / 377.7 MB, free: 1.984 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.0007445/0.1028, allocations: 466.7 kB / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.1028, allocations: 8.031 kB / 378.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.468e-05/0.1029, allocations: 50.73 kB / 378.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.103, allocations: 20.84 kB / 378.2 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.1034, allocations: 224 kB / 378.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1034, allocations: 12.38 kB / 378.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.1034, allocations: 16.38 kB / 378.5 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.1038, allocations: 197.9 kB / 378.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.1038, allocations: 3.938 kB / 378.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.1038, allocations: 12 kB / 378.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1038, allocations: 4 kB / 378.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.104, allocations: 103.9 kB / 378.8 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1623/0.2663, allocations: 0.943 MB / 379.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.2665, allocations: 100.3 kB / 379.8 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.167e-05/0.2666, allocations: 45.34 kB / 379.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.2666, allocations: 4.844 kB / 379.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.2666, allocations: 36.48 kB / 379.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.985e-06/0.2666, allocations: 0 / 379.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003064/0.2669, allocations: 130.8 kB / 380.1 MB, free: 12.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.267, allocations: 110.4 kB / 380.2 MB, free: 12.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.2671, allocations: 206.3 kB / 380.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.098e-06/0.2672, allocations: 29.02 kB / 380.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.2672, allocations: 143 kB / 380.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.2673, allocations: 52.75 kB / 380.6 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.2673, allocations: 48.39 kB / 380.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.2674, allocations: 328.3 kB / 381 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.437e-05/0.2675, allocations: 39.62 kB / 381 MB, free: 11.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.2676, allocations: 148.9 kB / 381.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.2678, allocations: 199.5 kB / 381.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2678, allocations: 3.281 kB / 381.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000264/0.268, allocations: 218.8 kB / 381.5 MB, free: 11.12 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2681, allocations: 6.875 kB / 381.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.2681, allocations: 2.75 kB / 381.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.2681, allocations: 9.125 kB / 381.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.2683, allocations: 47.5 kB / 381.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2683, allocations: 8.797 kB / 381.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2684, allocations: 29.39 kB / 381.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.2684, allocations: 13.12 kB / 381.7 MB, free: 11.11 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 6.873e-05/0.2685, allocations: 133.8 kB / 381.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.2686, allocations: 25.72 kB / 381.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.2686, allocations: 27.83 kB / 381.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.2686, allocations: 1.375 kB / 381.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2686, allocations: 1.375 kB / 381.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2686, allocations: 5.312 kB / 381.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003713/0.269, allocations: 239.7 kB / 382.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.269, allocations: 1.188 kB / 382.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.2692, allocations: 35.3 kB / 382.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.2692, allocations: 2.219 kB / 382.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2692, allocations: 1.375 kB / 382.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2692, allocations: 2.172 kB / 382.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2692, allocations: 6.875 kB / 382.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.2695, allocations: 381.7 kB / 382.5 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.2695, allocations: 101.1 kB / 382.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.2695, allocations: 7.156 kB / 382.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2697, allocations: 4.688 kB / 382.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.2697, allocations: 10.48 kB / 382.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.2697, allocations: 10.38 kB / 382.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.2699, allocations: 147.8 kB / 382.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2699, allocations: 0.5625 kB / 382.8 MB, free: 10.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.2703, allocations: 36.84 kB / 382.8 MB, free: 10.29 MB / 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.0003992/0.2707, allocations: 0.9149 MB / 383.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.2709, allocations: 115.6 kB / 383.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2709, allocations: 0.5312 kB / 383.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.156e-05/0.271, allocations: 34.61 kB / 383.9 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.2715, allocations: 31.12 kB / 383.9 MB, free: 9.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.2738, allocations: 2.631 MB / 386.5 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.2739, allocations: 0.722 MB / 387.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.546e-05/0.274, allocations: 22.66 kB / 387.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.2741, allocations: 48.86 kB / 387.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2741, allocations: 1.219 kB / 387.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.3009, allocations: 3.465 MB / 390.8 MB, free: 5.973 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.425, allocations: 5.078 kB / 390.8 MB, free: 5.969 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches