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.001549/0.001549, allocations: 115.5 kB / 18.45 MB, free: 4.625 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.001888/0.001888, allocations: 211.3 kB / 21.41 MB, free: 1.672 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.457/1.457, allocations: 207.6 MB / 231.8 MB, free: 4.188 MB / 174.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.001781/0.001781, allocations: 60.55 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.1013, allocations: 49.12 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003403/0.1047, allocations: 2.099 MB / 393.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003699/0.105, allocations: 167.4 kB / 393.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.1051, allocations: 7.938 kB / 393.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.1053, allocations: 27.72 kB / 393.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.108e-05/0.1054, allocations: 43.58 kB / 393.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.1055, allocations: 43.94 kB / 393.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.1058, allocations: 175.2 kB / 394 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1059, allocations: 50.27 kB / 394 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.106, allocations: 71.66 kB / 394.1 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.1061, allocations: 75.69 kB / 394.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.1062, allocations: 12 kB / 394.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.908e-05/0.1062, allocations: 19.94 kB / 394.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.1062, allocations: 31.91 kB / 394.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.776e-05/0.1063, allocations: 79.61 kB / 394.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.1066, allocations: 187.1 kB / 394.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1066, allocations: 0 / 394.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1066, allocations: 0 / 394.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1066, allocations: 0 / 394.5 MB, free: 5.645 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.0006863/0.1073, allocations: 474.6 kB / 394.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1073, allocations: 12.03 kB / 394.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.825e-05/0.1074, allocations: 46.73 kB / 395 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.1074, allocations: 20.84 kB / 395 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.1077, allocations: 227.9 kB / 395.2 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.1077, allocations: 12.38 kB / 395.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.1078, allocations: 16.38 kB / 395.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.1081, allocations: 190 kB / 395.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1081, allocations: 0 / 395.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.1081, allocations: 12 kB / 395.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1081, allocations: 4 kB / 395.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.1083, allocations: 99.81 kB / 395.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.1096, allocations: 0.947 MB / 396.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.1097, allocations: 103.8 kB / 396.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.1098, allocations: 42.58 kB / 396.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.1098, allocations: 4.078 kB / 396.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1098, allocations: 34.5 kB / 396.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.1098, allocations: 4 kB / 396.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003054/0.1101, allocations: 130 kB / 396.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.1102, allocations: 102.8 kB / 396.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1104, allocations: 211.7 kB / 397.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1104, allocations: 29.7 kB / 397.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1105, allocations: 140.1 kB / 397.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.1106, allocations: 63.44 kB / 397.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.1106, allocations: 37.95 kB / 397.4 MB, free: 2.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1108, allocations: 334.8 kB / 397.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.1109, allocations: 40.45 kB / 397.8 MB, free: 2.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.111, allocations: 143.6 kB / 397.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.1113, allocations: 201.6 kB / 398.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1113, allocations: 4 kB / 398.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003095/0.1116, allocations: 213.2 kB / 398.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1116, allocations: 8 kB / 398.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1116, allocations: 7.938 kB / 398.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1116, allocations: 8.406 kB / 398.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1118, allocations: 59.91 kB / 398.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.1118, allocations: 4 kB / 398.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1119, allocations: 35.66 kB / 398.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.1119, allocations: 8 kB / 398.4 MB, free: 1.262 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 0.0001082/0.112, allocations: 133.8 kB / 398.6 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.1121, allocations: 15.91 kB / 398.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.918e-05/0.1121, allocations: 20.92 kB / 398.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1121, allocations: 4 kB / 398.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1121, allocations: 7.938 kB / 398.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1121, allocations: 3.938 kB / 398.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.1126, allocations: 241.5 kB / 398.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1126, allocations: 0 / 398.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.1127, allocations: 31.98 kB / 398.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1127, allocations: 0 / 398.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1127, allocations: 4 kB / 398.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1127, allocations: 0 / 398.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1127, allocations: 0 / 398.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.1131, allocations: 393.8 kB / 399.3 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.1131, allocations: 97.17 kB / 399.4 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1132, allocations: 7.984 kB / 399.4 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.1133, allocations: 0 / 399.4 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.1133, allocations: 15.92 kB / 399.4 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.1133, allocations: 4 kB / 399.4 MB, free: 208 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.1135, allocations: 145.5 kB / 399.5 MB, free: 64 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1135, allocations: 4 kB / 399.5 MB, free: 60 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.1138, allocations: 39.94 kB / 399.6 MB, free: 20 kB / 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.0006384/0.1145, allocations: 0.914 MB / 400.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.1147, allocations: 116.1 kB / 400.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1147, allocations: 0 / 400.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.068e-05/0.1147, allocations: 31.92 kB / 400.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.1152, allocations: 39.69 kB / 400.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.1182, allocations: 2.628 MB / 403.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.1186, allocations: 0.7242 MB / 404 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.016e-05/0.1187, allocations: 21.95 kB / 404.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.1187, allocations: 47.42 kB / 404.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1187, allocations: 0 / 404.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.1456, allocations: 3.485 MB / 407.6 MB, free: 7.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/7.967, allocations: 8 kB / 407.6 MB, free: 7.723 MB / 334.1 MB " [Timeout remaining time 652] (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: 10.442107738010236]