Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 119 kB / 17.78 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002297/0.002297, allocations: 193.2 kB / 20.73 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.91 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1085, allocations: 52.13 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003256/0.1117, allocations: 2.111 MB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003882/0.1121, allocations: 167.4 kB / 420 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.092e-05/0.1122, allocations: 4 kB / 420 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.1123, allocations: 31.66 kB / 420.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.799e-05/0.1124, allocations: 51.56 kB / 420.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.1126, allocations: 35.95 kB / 420.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.1128, allocations: 183.2 kB / 420.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.113, allocations: 44.69 kB / 420.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.217e-05/0.1131, allocations: 67.78 kB / 420.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.1132, allocations: 75.64 kB / 420.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.1132, allocations: 12 kB / 420.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.652e-05/0.1133, allocations: 12 kB / 420.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.1133, allocations: 39.89 kB / 420.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.1134, allocations: 87.55 kB / 420.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.1136, allocations: 175.2 kB / 420.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1136, allocations: 11.94 kB / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1136, allocations: 0 / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1136, allocations: 0 / 420.8 MB, free: 9.516 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.0006805/0.1143, allocations: 466.6 kB / 421.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1144, allocations: 12.03 kB / 421.3 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.1144, allocations: 54.73 kB / 421.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.1145, allocations: 16.84 kB / 421.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.1148, allocations: 218.6 kB / 421.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1148, allocations: 16.38 kB / 421.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.1149, allocations: 20.38 kB / 421.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.1152, allocations: 189.9 kB / 421.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1152, allocations: 7.984 kB / 421.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1152, allocations: 4 kB / 421.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1152, allocations: 4 kB / 421.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.1154, allocations: 103.8 kB / 421.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.1168, allocations: 0.9664 MB / 422.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.117, allocations: 91.75 kB / 423 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/0.117, allocations: 42.75 kB / 423 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.1171, allocations: 4 kB / 423 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1171, allocations: 34.56 kB / 423.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1171, allocations: 0 / 423.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003276/0.1174, allocations: 129.6 kB / 423.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.1175, allocations: 110.8 kB / 423.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1177, allocations: 211.7 kB / 423.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1177, allocations: 29.7 kB / 423.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1178, allocations: 144.1 kB / 423.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.1179, allocations: 51.58 kB / 423.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.118, allocations: 45.94 kB / 423.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1181, allocations: 330.8 kB / 424.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.1182, allocations: 36.45 kB / 424.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1183, allocations: 147.3 kB / 424.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.1186, allocations: 201.5 kB / 424.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1186, allocations: 0 / 424.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003299/0.1189, allocations: 225.3 kB / 424.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1189, allocations: 4 kB / 424.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.1189, allocations: 4 kB / 424.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.119, allocations: 8 kB / 424.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.1191, allocations: 43.92 kB / 424.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.1191, allocations: 11.98 kB / 424.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1193, allocations: 31.72 kB / 424.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.1193, allocations: 8 kB / 424.8 MB, free: 5.141 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.0001243/0.1194, allocations: 138.6 kB / 424.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.1195, allocations: 19.91 kB / 425 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.1195, allocations: 24.92 kB / 425 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1195, allocations: 0 / 425 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1195, allocations: 8.5 kB / 425 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1195, allocations: 3.938 kB / 425 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.12, allocations: 233.5 kB / 425.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.12, allocations: 4 kB / 425.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.1201, allocations: 31.92 kB / 425.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1201, allocations: 0 / 425.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1202, allocations: 8 kB / 425.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1202, allocations: 0 / 425.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1202, allocations: 0 / 425.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.1206, allocations: 401.7 kB / 425.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.1206, allocations: 96.95 kB / 425.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.1207, allocations: 0 / 425.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1208, allocations: 8.062 kB / 425.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.1208, allocations: 15.92 kB / 425.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1208, allocations: 0 / 425.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.121, allocations: 153.5 kB / 425.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.121, allocations: 4 kB / 425.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.1214, allocations: 36 kB / 426 MB, free: 3.879 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.0007207/0.1221, allocations: 0.9161 MB / 426.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.1223, allocations: 103.8 kB / 427 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1223, allocations: 0.8125 kB / 427 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.1224, allocations: 39.92 kB / 427 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.1229, allocations: 27.92 kB / 427.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003109/0.126, allocations: 2.64 MB / 429.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.1264, allocations: 0.732 MB / 430.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.567e-05/0.1265, allocations: 17.94 kB / 430.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.1265, allocations: 47.42 kB / 430.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1265, allocations: 0 / 430.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.1534, allocations: 3.487 MB / 434 MB, free: 11.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.104, allocations: 3.75 kB / 434 MB, free: 11.73 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.889822101220489]