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.001244/0.001244, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001397/0.001397, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.495/1.495, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001491/0.001491, allocations: 47.92 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1202, allocations: 53.33 MB / 426.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003598/0.1238, allocations: 2.12 MB / 428.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.1242, allocations: 159.4 kB / 428.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.938e-05/0.1243, allocations: 11.94 kB / 428.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.1244, allocations: 27.72 kB / 428.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.735e-05/0.1245, allocations: 51.56 kB / 428.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.1247, allocations: 39.94 kB / 428.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.125, allocations: 179.2 kB / 428.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.1251, allocations: 42.28 kB / 428.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.1252, allocations: 71.72 kB / 429 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1254, allocations: 79.62 kB / 429.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.1254, allocations: 16 kB / 429.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.804e-05/0.1254, allocations: 12 kB / 429.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.1255, allocations: 35.91 kB / 429.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.589e-05/0.1256, allocations: 79.55 kB / 429.2 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.1258, allocations: 183.2 kB / 429.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1258, allocations: 0 / 429.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1258, allocations: 0 / 429.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.1258, allocations: 4 kB / 429.4 MB, free: 1.699 MB / 350.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.0007371/0.1266, allocations: 470.6 kB / 429.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1266, allocations: 8.031 kB / 429.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.806e-05/0.1267, allocations: 50.73 kB / 429.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.1267, allocations: 20.8 kB / 429.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.127, allocations: 220 kB / 430.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1271, allocations: 16.16 kB / 430.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.1271, allocations: 20.33 kB / 430.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.1274, allocations: 186 kB / 430.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.1274, allocations: 7.938 kB / 430.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1275, allocations: 8 kB / 430.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1275, allocations: 4 kB / 430.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.1277, allocations: 99.88 kB / 430.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.1291, allocations: 0.9548 MB / 431.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.1292, allocations: 107.8 kB / 431.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.1293, allocations: 42.59 kB / 431.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1293, allocations: 0 / 431.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1293, allocations: 34.56 kB / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.1293, allocations: 0 / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003306/0.1297, allocations: 133.9 kB / 431.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.1297, allocations: 110.8 kB / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.13, allocations: 207.7 kB / 432.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.13, allocations: 25.7 kB / 432.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1301, allocations: 144 kB / 432.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.1301, allocations: 55.61 kB / 432.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.1302, allocations: 41.91 kB / 432.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1304, allocations: 330.8 kB / 432.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.1304, allocations: 40.45 kB / 432.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.1306, allocations: 141.2 kB / 432.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.1308, allocations: 205.6 kB / 433 MB, free: 13.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1308, allocations: 0 / 433 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003221/0.1312, allocations: 213.2 kB / 433.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1312, allocations: 6.188 kB / 433.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1312, allocations: 8 kB / 433.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.1312, allocations: 7.984 kB / 433.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1314, allocations: 51.92 kB / 433.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1314, allocations: 8.344 kB / 433.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.1315, allocations: 43.67 kB / 433.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1315, allocations: 8 kB / 433.4 MB, free: 13.32 MB / 366.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.1316, allocations: 133.7 kB / 433.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.1317, allocations: 15.91 kB / 433.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.1318, allocations: 24.92 kB / 433.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1318, allocations: 0 / 433.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1318, allocations: 0 / 433.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1318, allocations: 7.938 kB / 433.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.1322, allocations: 233.6 kB / 433.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1322, allocations: 4 kB / 433.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.1324, allocations: 35.92 kB / 433.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1324, allocations: 0 / 433.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1324, allocations: 0 / 433.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.1324, allocations: 7.938 kB / 433.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1324, allocations: 0 / 433.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.1328, allocations: 389.8 kB / 434.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.1328, allocations: 97.16 kB / 434.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1329, allocations: 7.984 kB / 434.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.133, allocations: 0 / 434.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.133, allocations: 15.92 kB / 434.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.133, allocations: 7.984 kB / 434.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1332, allocations: 153.4 kB / 434.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1332, allocations: 0 / 434.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.1336, allocations: 39.95 kB / 434.5 MB, free: 12.07 MB / 366.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.0006671/0.1342, allocations: 0.914 MB / 435.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1344, allocations: 104.3 kB / 435.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1344, allocations: 0 / 435.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.848e-05/0.1345, allocations: 31.92 kB / 435.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.135, allocations: 36.12 kB / 435.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.138, allocations: 2.636 MB / 438.2 MB, free: 8.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.1384, allocations: 0.7242 MB / 438.9 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.227e-05/0.1385, allocations: 21.95 kB / 439 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.544e-05/0.1386, allocations: 47.42 kB / 439 MB, free: 7.324 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1386, allocations: 0 / 439 MB, free: 7.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.1647, allocations: 3.489 MB / 442.5 MB, free: 3.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/7.976, allocations: 10.67 kB / 442.5 MB, free: 3.93 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.713879424991319]