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.001125/0.001125, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.00116/0.00116, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.335/1.335, 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.00127/0.00127, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08328/0.08456, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00339/0.08799, allocations: 2.092 MB / 376.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004806/0.0885, allocations: 159.4 kB / 376.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.08869, allocations: 4 kB / 376.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.08885, allocations: 35.66 kB / 376.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.089, allocations: 47.58 kB / 377 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.08918, allocations: 43.92 kB / 377 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.08943, allocations: 179.2 kB / 377.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.08961, allocations: 70 kB / 377.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.08974, allocations: 63.78 kB / 377.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.08988, allocations: 75.62 kB / 377.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.08992, allocations: 12 kB / 377.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.099e-05/0.08997, allocations: 16 kB / 377.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.09001, allocations: 27.92 kB / 377.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.806e-05/0.0901, allocations: 91.53 kB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.09034, allocations: 187.1 kB / 377.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.09035, allocations: 0 / 377.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.09036, allocations: 0 / 377.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.09038, allocations: 0 / 377.7 MB, free: 1.98 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.000615/0.091, allocations: 466.7 kB / 378.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.09104, allocations: 12.03 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.0911, allocations: 46.73 kB / 378.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.09115, allocations: 20.84 kB / 378.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.09145, allocations: 224 kB / 378.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.09148, allocations: 12.38 kB / 378.5 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.09152, allocations: 16.38 kB / 378.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002897/0.09181, allocations: 193.9 kB / 378.7 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.09184, allocations: 4 kB / 378.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.09187, allocations: 8 kB / 378.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.09188, allocations: 8 kB / 378.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.09206, allocations: 99.88 kB / 378.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1723/0.2643, allocations: 0.9415 MB / 379.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2646, allocations: 98.94 kB / 379.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.2647, allocations: 48.5 kB / 379.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.2647, allocations: 5.281 kB / 379.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.2647, allocations: 34.02 kB / 379.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 3.276e-06/0.2647, allocations: 0 / 379.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000328/0.2651, allocations: 135.5 kB / 380.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.2651, allocations: 106.4 kB / 380.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.2653, allocations: 209.4 kB / 380.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.2653, allocations: 27.08 kB / 380.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.2654, allocations: 144.6 kB / 380.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.2655, allocations: 56.95 kB / 380.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.2655, allocations: 46 kB / 380.6 MB, free: 11.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.97e-05/0.2656, allocations: 330.1 kB / 381 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.2657, allocations: 38.45 kB / 381 MB, free: 11.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.2658, allocations: 145.5 kB / 381.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.266, allocations: 201.9 kB / 381.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.266, allocations: 1.344 kB / 381.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003165/0.2663, allocations: 216.3 kB / 381.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2663, allocations: 11.45 kB / 381.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2664, allocations: 4.562 kB / 381.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.2664, allocations: 6.969 kB / 381.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2666, allocations: 52.7 kB / 381.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2666, allocations: 6.078 kB / 381.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2667, allocations: 26.62 kB / 381.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.2667, allocations: 10.39 kB / 381.7 MB, free: 11.14 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 8.798e-05/0.2668, allocations: 137.2 kB / 381.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.2669, allocations: 30.03 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.267, allocations: 26.08 kB / 381.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.267, allocations: 2.75 kB / 381.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.267, allocations: 0 / 381.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.267, allocations: 2.172 kB / 381.9 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.2674, allocations: 239.3 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2675, allocations: 0 / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2676, allocations: 41.66 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2676, allocations: 1.125 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.2676, allocations: 5.766 kB / 382.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2677, allocations: 6.125 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2677, allocations: 2.172 kB / 382.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.2679, allocations: 382.9 kB / 382.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.268, allocations: 96.33 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.268, allocations: 6.188 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.2682, allocations: 0.7969 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.2682, allocations: 14.06 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.2682, allocations: 8.719 kB / 382.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.2684, allocations: 144.5 kB / 382.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2684, allocations: 1.031 kB / 382.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000401/0.2688, allocations: 38.44 kB / 382.8 MB, free: 10.32 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.0004474/0.2692, allocations: 0.913 MB / 383.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.2695, allocations: 113.9 kB / 383.8 MB, free: 9.477 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2695, allocations: 1.312 kB / 383.8 MB, free: 9.477 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.719e-05/0.2696, allocations: 33.45 kB / 383.9 MB, free: 9.473 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.2701, allocations: 36.34 kB / 383.9 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.2725, allocations: 2.629 MB / 386.5 MB, free: 7.422 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.2727, allocations: 0.7228 MB / 387.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.134e-05/0.2728, allocations: 20.03 kB / 387.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.2729, allocations: 53.72 kB / 387.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2729, allocations: 0 / 387.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.2942, allocations: 3.464 MB / 390.8 MB, free: 6.004 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.922, allocations: 6.266 kB / 390.8 MB, free: 6 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