Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001857/0.001857, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00235/0.00235, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.91 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1135, allocations: 53.37 MB / 426.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004103/0.1176, allocations: 2.125 MB / 428.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005708/0.1181, allocations: 159.4 kB / 428.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.1183, allocations: 7.938 kB / 428.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.1185, allocations: 31.72 kB / 428.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1187, allocations: 47.56 kB / 428.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.1189, allocations: 43.89 kB / 428.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.1193, allocations: 175.2 kB / 428.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.1195, allocations: 50.27 kB / 429 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1196, allocations: 63.8 kB / 429 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1197, allocations: 79.61 kB / 429.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.1198, allocations: 12 kB / 429.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.19e-05/0.1198, allocations: 16 kB / 429.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.1199, allocations: 27.92 kB / 429.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.78e-05/0.12, allocations: 87.55 kB / 429.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.1203, allocations: 187.2 kB / 429.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1203, allocations: 0 / 429.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1203, allocations: 0 / 429.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1203, allocations: 0 / 429.4 MB, free: 1.527 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.0007314/0.121, allocations: 462.6 kB / 429.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1211, allocations: 16.03 kB / 429.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.024e-05/0.1211, allocations: 50.73 kB / 430 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.1212, allocations: 20.8 kB / 430 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1215, allocations: 216.1 kB / 430.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1215, allocations: 16.09 kB / 430.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.1216, allocations: 24.33 kB / 430.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.1219, allocations: 193.9 kB / 430.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1219, allocations: 0 / 430.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.1219, allocations: 8 kB / 430.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.122, allocations: 4 kB / 430.4 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.1221, allocations: 103.9 kB / 430.5 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.1236, allocations: 0.9587 MB / 431.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1237, allocations: 95.83 kB / 431.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.1238, allocations: 42.66 kB / 431.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.1238, allocations: 4 kB / 431.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1238, allocations: 34.56 kB / 431.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1238, allocations: 0 / 431.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003585/0.1242, allocations: 137.5 kB / 431.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.1243, allocations: 102.8 kB / 431.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.1245, allocations: 207.8 kB / 432.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.1245, allocations: 37.64 kB / 432.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1246, allocations: 144 kB / 432.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.1247, allocations: 47.62 kB / 432.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.1247, allocations: 49.89 kB / 432.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1249, allocations: 326.8 kB / 432.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.125, allocations: 40.45 kB / 432.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.1251, allocations: 142.6 kB / 432.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.1253, allocations: 197.5 kB / 433.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1254, allocations: 0 / 433.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003289/0.1257, allocations: 217.4 kB / 433.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1257, allocations: 8 kB / 433.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.1257, allocations: 7.984 kB / 433.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1257, allocations: 4 kB / 433.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.1259, allocations: 47.92 kB / 433.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.1259, allocations: 11.92 kB / 433.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.126, allocations: 39.67 kB / 433.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.1261, allocations: 12 kB / 433.4 MB, free: 13.14 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.0001214/0.1262, allocations: 138 kB / 433.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.017e-05/0.1263, allocations: 23.89 kB / 433.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.426e-05/0.1263, allocations: 16.94 kB / 433.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1263, allocations: 4 kB / 433.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1263, allocations: 0.5625 kB / 433.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1263, allocations: 3.938 kB / 433.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.1268, allocations: 233.6 kB / 433.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1268, allocations: 0 / 433.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.1269, allocations: 31.92 kB / 433.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1269, allocations: 3.938 kB / 433.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.127, allocations: 12 kB / 433.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.127, allocations: 0 / 433.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.127, allocations: 3.984 kB / 433.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.1273, allocations: 389.8 kB / 434.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.1274, allocations: 96.94 kB / 434.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1274, allocations: 4.062 kB / 434.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1276, allocations: 8 kB / 434.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.1276, allocations: 11.88 kB / 434.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.1276, allocations: 7.984 kB / 434.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1277, allocations: 153.5 kB / 434.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1277, allocations: 0 / 434.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003854/0.1281, allocations: 39.95 kB / 434.6 MB, free: 11.88 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.0006927/0.1288, allocations: 0.9161 MB / 435.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.129, allocations: 96.59 kB / 435.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.129, allocations: 0 / 435.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.1291, allocations: 43.98 kB / 435.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.1296, allocations: 27.86 kB / 435.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.1328, allocations: 2.636 MB / 438.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.1332, allocations: 0.7281 MB / 439 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.134e-05/0.1332, allocations: 13.95 kB / 439 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.1333, allocations: 47.42 kB / 439.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1333, allocations: 0 / 439.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.1637, allocations: 3.494 MB / 442.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.019, allocations: 0 / 442.6 MB, free: 3.758 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv. Warning: Get data of variable mass3.v from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.843411903944798]