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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 208.6 kB / 24.49 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 51.94 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2792, allocations: 49.16 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003105/0.2823, allocations: 2.105 MB / 398.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003727/0.2827, allocations: 167.5 kB / 398.6 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.2828, allocations: 4.156 kB / 398.6 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.283, allocations: 30.98 kB / 398.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.191e-05/0.2831, allocations: 43.28 kB / 398.7 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.2833, allocations: 45.31 kB / 398.7 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.2835, allocations: 177.5 kB / 398.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2836, allocations: 55.44 kB / 399 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.249e-05/0.2837, allocations: 70.52 kB / 399 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.2838, allocations: 66.88 kB / 399.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.2839, allocations: 17.31 kB / 399.1 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.866e-05/0.2839, allocations: 13.56 kB / 399.1 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.2839, allocations: 30.83 kB / 399.1 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.644e-05/0.284, allocations: 88.91 kB / 399.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.2842, allocations: 176.8 kB / 399.4 MB, free: 6.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2842, allocations: 4 kB / 399.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2842, allocations: 1.062 kB / 399.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.2843, allocations: 0 / 399.4 MB, free: 6.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.0005377/0.2848, allocations: 395.5 kB / 399.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2848, allocations: 13.64 kB / 399.8 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.2849, allocations: 52.97 kB / 399.9 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.2849, allocations: 21.72 kB / 399.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.2851, allocations: 168 kB / 400.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2851, allocations: 14.69 kB / 400.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.2852, allocations: 16.09 kB / 400.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.2855, allocations: 192.8 kB / 400.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2855, allocations: 1.312 kB / 400.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.2855, allocations: 14.5 kB / 400.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.2855, allocations: 4.312 kB / 400.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.2857, allocations: 95.56 kB / 400.4 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.2867, allocations: 0.9184 MB / 401.3 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.2868, allocations: 100.2 kB / 401.4 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/0.2869, allocations: 37.88 kB / 401.4 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.2869, allocations: 6.469 kB / 401.4 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.2869, allocations: 32.88 kB / 401.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.2869, allocations: 1.344 kB / 401.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000293/0.2872, allocations: 130.6 kB / 401.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.2872, allocations: 106.3 kB / 401.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.2874, allocations: 208.2 kB / 401.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.2874, allocations: 25.7 kB / 401.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.2875, allocations: 147 kB / 402.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.2875, allocations: 55.3 kB / 402.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.2876, allocations: 39.94 kB / 402.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.2876, allocations: 330.8 kB / 402.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.2877, allocations: 37.08 kB / 402.5 MB, free: 4.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2878, allocations: 149.4 kB / 402.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.288, allocations: 201.4 kB / 402.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.288, allocations: 1.344 kB / 402.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002864/0.2882, allocations: 215.9 kB / 403.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2883, allocations: 11.19 kB / 403.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2883, allocations: 4.562 kB / 403.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.2883, allocations: 4.656 kB / 403.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.2884, allocations: 55.78 kB / 403.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.2885, allocations: 6.375 kB / 403.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2886, allocations: 32.23 kB / 403.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2886, allocations: 9.438 kB / 403.2 MB, free: 3.879 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 7.097e-05/0.2887, allocations: 131.5 kB / 403.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.2887, allocations: 21.89 kB / 403.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.2888, allocations: 19.83 kB / 403.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2888, allocations: 2.484 kB / 403.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2888, allocations: 1.062 kB / 403.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2888, allocations: 6.188 kB / 403.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.2891, allocations: 213.7 kB / 403.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.2891, allocations: 1.859 kB / 403.6 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.2893, allocations: 39.05 kB / 403.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.2893, allocations: 1.844 kB / 403.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2893, allocations: 2.969 kB / 403.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2893, allocations: 5.125 kB / 403.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2893, allocations: 1.922 kB / 403.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.2896, allocations: 385.1 kB / 404 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.2896, allocations: 22.69 kB / 404 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.2896, allocations: 11.17 kB / 404.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.2898, allocations: 5.641 kB / 404.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.2898, allocations: 15.39 kB / 404.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.2898, allocations: 3.016 kB / 404.1 MB, free: 3.148 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.2899, allocations: 149.2 kB / 404.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2899, allocations: 0 / 404.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.2903, allocations: 40.03 kB / 404.3 MB, free: 3.043 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.0003642/0.2906, allocations: 0.9075 MB / 405.2 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.2909, allocations: 108.4 kB / 405.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2909, allocations: 0 / 405.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.2909, allocations: 33.92 kB / 405.3 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.2914, allocations: 43.67 kB / 405.4 MB, free: 2.117 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.2938, allocations: 2.625 MB / 408 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.2942, allocations: 0.7226 MB / 408.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.137e-05/0.2943, allocations: 21.09 kB / 408.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.2944, allocations: 46.81 kB / 408.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2944, allocations: 0 / 408.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.3264, allocations: 3.707 MB / 412.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.44, allocations: 5.016 kB / 412.5 MB, free: 14.11 MB / 334.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable mass3.v in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.992088655999396]