Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001876/0.001876, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002072/0.002072, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 47.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2979, allocations: 53.36 MB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.0035/0.3014, allocations: 2.136 MB / 433.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003975/0.3018, allocations: 167.4 kB / 433.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.3019, allocations: 4 kB / 433.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.3021, allocations: 31.66 kB / 433.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.94e-05/0.3022, allocations: 51.5 kB / 433.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.3024, allocations: 43.95 kB / 433.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.3026, allocations: 183.2 kB / 433.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.3028, allocations: 42.41 kB / 433.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.3028, allocations: 63.8 kB / 433.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.303, allocations: 79.61 kB / 433.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.303, allocations: 16 kB / 433.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.63e-05/0.303, allocations: 12 kB / 433.9 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.3031, allocations: 31.86 kB / 434 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.633e-05/0.3032, allocations: 83.59 kB / 434 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.3034, allocations: 179.6 kB / 434.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3034, allocations: 7.938 kB / 434.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3034, allocations: 0 / 434.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.3034, allocations: 0 / 434.2 MB, free: 3.715 MB / 334.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.0006281/0.3041, allocations: 389.6 kB / 434.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3041, allocations: 8.031 kB / 434.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.357e-05/0.3042, allocations: 46.73 kB / 434.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.3042, allocations: 28.8 kB / 434.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.3045, allocations: 158.3 kB / 434.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3045, allocations: 12.16 kB / 434.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.3046, allocations: 24.33 kB / 434.9 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.3049, allocations: 186.2 kB / 435.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3049, allocations: 0 / 435.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.3049, allocations: 19.92 kB / 435.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3049, allocations: 4 kB / 435.1 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.3051, allocations: 103 kB / 435.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3064, allocations: 0.9187 MB / 436.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.3066, allocations: 99.73 kB / 436.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.3066, allocations: 38.75 kB / 436.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.3067, allocations: 0 / 436.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3067, allocations: 42.56 kB / 436.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.71e-07/0.3067, allocations: 0 / 436.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003399/0.307, allocations: 129.4 kB / 436.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.3071, allocations: 106.8 kB / 436.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.3073, allocations: 203.8 kB / 436.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3074, allocations: 29.7 kB / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3075, allocations: 152 kB / 436.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.3075, allocations: 51.59 kB / 436.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.13e-05/0.3076, allocations: 45.94 kB / 437 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3078, allocations: 330.8 kB / 437.3 MB, free: 368 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.3079, allocations: 40.39 kB / 437.4 MB, free: 328 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.308, allocations: 146.6 kB / 437.5 MB, free: 132 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3083, allocations: 197.5 kB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3083, allocations: 0 / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000342/0.3086, allocations: 218.2 kB / 437.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3087, allocations: 8.062 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3087, allocations: 4 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3087, allocations: 4 kB / 437.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.3088, allocations: 51.91 kB / 438 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.3089, allocations: 8 kB / 438 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.309, allocations: 39.67 kB / 438 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.309, allocations: 8 kB / 438 MB, free: 15.55 MB / 350.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.0001295/0.3091, allocations: 133.7 kB / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.3092, allocations: 15.95 kB / 438.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.3092, allocations: 37 kB / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3093, allocations: 0 / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3093, allocations: 0 / 438.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3093, allocations: 7.938 kB / 438.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.3097, allocations: 204.6 kB / 438.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3097, allocations: 7.938 kB / 438.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.3098, allocations: 31.92 kB / 438.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3098, allocations: 0 / 438.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3099, allocations: 8 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3099, allocations: 0 / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3099, allocations: 4 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.3102, allocations: 385.8 kB / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.3103, allocations: 19.84 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.3103, allocations: 4.062 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3104, allocations: 4 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.3105, allocations: 11.92 kB / 438.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3105, allocations: 4 kB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.3106, allocations: 153.5 kB / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3106, allocations: 0 / 439 MB, free: 14.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003664/0.311, allocations: 43.95 kB / 439.1 MB, free: 14.42 MB / 350.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.0006975/0.3117, allocations: 0.9101 MB / 440 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.3119, allocations: 103.8 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3119, allocations: 0 / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.337e-05/0.312, allocations: 36.73 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.3125, allocations: 34.81 kB / 440.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.3155, allocations: 2.64 MB / 442.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.3159, allocations: 0.7242 MB / 443.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.28e-05/0.316, allocations: 21.89 kB / 443.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3161, allocations: 51.42 kB / 443.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3161, allocations: 0 / 443.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.3468, allocations: 3.707 MB / 447.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.19, allocations: 4.422 kB / 447.3 MB, free: 6.109 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.761185098999704]