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.001425/0.001425, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001732/0.001732, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001579/0.001579, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2431, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003563/0.2467, allocations: 2.022 MB / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004274/0.2471, allocations: 167.4 kB / 433.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.2472, allocations: 7.938 kB / 433.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.2474, allocations: 27.67 kB / 433.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.2475, allocations: 51.56 kB / 433.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.2477, allocations: 35.95 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.248, allocations: 191.2 kB / 433.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2481, allocations: 34.42 kB / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.2482, allocations: 67.78 kB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.2483, allocations: 63.62 kB / 433.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.2484, allocations: 16 kB / 433.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.957e-05/0.2484, allocations: 12 kB / 433.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.2485, allocations: 31.86 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.299e-05/0.2485, allocations: 67.72 kB / 433.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.2488, allocations: 188.9 kB / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2488, allocations: 0 / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2488, allocations: 3.938 kB / 434 MB, free: 3.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.2488, allocations: 4 kB / 434 MB, free: 3.652 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.0006437/0.2495, allocations: 385.5 kB / 434.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2495, allocations: 12.03 kB / 434.4 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.2496, allocations: 50.73 kB / 434.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.2496, allocations: 24.8 kB / 434.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.2499, allocations: 156.9 kB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.2499, allocations: 24.16 kB / 434.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.2499, allocations: 20.33 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.2503, allocations: 186.2 kB / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2503, allocations: 0 / 434.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.2503, allocations: 8 kB / 434.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2503, allocations: 4 kB / 434.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.2505, allocations: 103.9 kB / 435 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.2518, allocations: 0.8798 MB / 435.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.252, allocations: 115.8 kB / 436 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.2521, allocations: 38.66 kB / 436 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.2521, allocations: 4 kB / 436 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2521, allocations: 30.56 kB / 436.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2521, allocations: 0 / 436.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003077/0.2524, allocations: 137.4 kB / 436.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.2525, allocations: 102.8 kB / 436.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.2527, allocations: 219.6 kB / 436.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.2527, allocations: 25.7 kB / 436.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2528, allocations: 140.1 kB / 436.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.2529, allocations: 55.53 kB / 436.7 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.253, allocations: 45.94 kB / 436.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2531, allocations: 326.8 kB / 437.1 MB, free: 336 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.626e-05/0.2532, allocations: 40.39 kB / 437.1 MB, free: 296 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.2534, allocations: 146.6 kB / 437.3 MB, free: 100 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.2536, allocations: 201.5 kB / 437.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2536, allocations: 0 / 437.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003506/0.254, allocations: 222 kB / 437.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.254, allocations: 8 kB / 437.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.254, allocations: 4 kB / 437.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.254, allocations: 4 kB / 437.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.2542, allocations: 59.8 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2542, allocations: 4 kB / 437.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.2543, allocations: 31.72 kB / 437.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.2543, allocations: 8 kB / 437.8 MB, free: 15.51 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.0001246/0.2545, allocations: 138 kB / 437.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.2545, allocations: 19.91 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.2546, allocations: 17.03 kB / 438 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2546, allocations: 4 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2546, allocations: 0 / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.2546, allocations: 7.922 kB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.2551, allocations: 204.6 kB / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.2551, allocations: 4 kB / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.2553, allocations: 31.92 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2553, allocations: 0 / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2553, allocations: 4 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2553, allocations: 4 kB / 438.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2553, allocations: 4 kB / 438.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.2557, allocations: 389.8 kB / 438.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.2557, allocations: 15.91 kB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.2557, allocations: 3.938 kB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2559, allocations: 8.047 kB / 438.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.256, allocations: 11.92 kB / 438.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.256, allocations: 4 kB / 438.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.2561, allocations: 153.5 kB / 438.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2561, allocations: 0 / 438.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003763/0.2565, allocations: 40 kB / 438.8 MB, free: 14.4 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.0006636/0.2571, allocations: 0.914 MB / 439.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.2574, allocations: 103.8 kB / 439.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2574, allocations: 0 / 439.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/0.2574, allocations: 35.92 kB / 439.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.2579, allocations: 33.28 kB / 439.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.2608, allocations: 2.624 MB / 442.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.261, allocations: 116.1 kB / 442.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.554e-05/0.261, allocations: 17.95 kB / 442.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.2611, allocations: 51.41 kB / 442.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2611, allocations: 0 / 442.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.293, allocations: 4.041 MB / 446.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.36, allocations: 4.062 kB / 446.8 MB, free: 6.383 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.824369675014168]