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.001355/0.001355, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.001349/0.001349, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.453/1.453, allocations: 230.2 MB / 254.5 MB, free: 15.23 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: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 59.91 kB / 373.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1152, allocations: 53.32 MB / 427.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003401/0.1186, allocations: 2.126 MB / 429.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00035/0.1189, allocations: 167.3 kB / 429.4 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.791e-05/0.119, allocations: 4 kB / 429.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.1191, allocations: 27.72 kB / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.1192, allocations: 43.58 kB / 429.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.1194, allocations: 47.94 kB / 429.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.1196, allocations: 179.2 kB / 429.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1198, allocations: 42.3 kB / 429.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.718e-05/0.1199, allocations: 71.7 kB / 429.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.12, allocations: 71.64 kB / 429.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.12, allocations: 12 kB / 429.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.603e-05/0.12, allocations: 16 kB / 429.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.1201, allocations: 31.91 kB / 430 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.1202, allocations: 87.55 kB / 430 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.1204, allocations: 183.2 kB / 430.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1204, allocations: 0 / 430.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1204, allocations: 0 / 430.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1204, allocations: 0 / 430.2 MB, free: 1.391 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.0007447/0.1212, allocations: 458.7 kB / 430.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1212, allocations: 20.02 kB / 430.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.1213, allocations: 20.8 kB / 430.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.1215, allocations: 224 kB / 430.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1216, allocations: 16.16 kB / 430.9 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.1216, allocations: 24.33 kB / 431 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.1221, allocations: 174.2 kB / 431.1 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.1221, allocations: 15.94 kB / 431.2 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.1221, allocations: 4 kB / 431.2 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1221, allocations: 4 kB / 431.2 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1223, allocations: 111.8 kB / 431.3 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.1237, allocations: 0.9509 MB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.1239, allocations: 95.94 kB / 432.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.124, allocations: 38.56 kB / 432.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.124, allocations: 7.938 kB / 432.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.549e-05/0.1241, allocations: 42.55 kB / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.1241, allocations: 0 / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.000297/0.1244, allocations: 125.5 kB / 432.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.1244, allocations: 106.8 kB / 432.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.1247, allocations: 195.9 kB / 432.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1247, allocations: 29.7 kB / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1248, allocations: 156 kB / 433 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.1248, allocations: 51.58 kB / 433.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.1249, allocations: 53.83 kB / 433.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1251, allocations: 334.8 kB / 433.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.84e-05/0.1251, allocations: 36.45 kB / 433.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.1253, allocations: 142.6 kB / 433.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.1256, allocations: 202 kB / 433.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1256, allocations: 4 kB / 433.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003274/0.1259, allocations: 209.5 kB / 434 MB, free: 13.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1259, allocations: 8 kB / 434 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1259, allocations: 4 kB / 434 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.1259, allocations: 4 kB / 434 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1262, allocations: 55.91 kB / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1262, allocations: 7.938 kB / 434.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1263, allocations: 35.67 kB / 434.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1263, allocations: 16 kB / 434.1 MB, free: 13.06 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.0001113/0.1264, allocations: 137.8 kB / 434.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.1265, allocations: 15.91 kB / 434.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.14e-05/0.1266, allocations: 24.92 kB / 434.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1266, allocations: 0 / 434.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1266, allocations: 0 / 434.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1266, allocations: 7.938 kB / 434.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.1271, allocations: 237.6 kB / 434.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1271, allocations: 0 / 434.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1273, allocations: 27.98 kB / 434.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1273, allocations: 4 kB / 434.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1273, allocations: 0 / 434.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1273, allocations: 8 kB / 434.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.1273, allocations: 3.984 kB / 434.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.1277, allocations: 393.7 kB / 435 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.1277, allocations: 97.02 kB / 435.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1278, allocations: 4 kB / 435.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.1279, allocations: 4 kB / 435.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.1279, allocations: 15.92 kB / 435.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.128, allocations: 4 kB / 435.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.1281, allocations: 149.5 kB / 435.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1281, allocations: 0 / 435.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.1285, allocations: 43.95 kB / 435.3 MB, free: 11.8 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.0001195/0.1286, allocations: 103.2 kB / 435.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1288, allocations: 107.8 kB / 435.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1288, allocations: 0 / 435.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.479e-05/0.1289, allocations: 36.53 kB / 435.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.1294, allocations: 31.94 kB / 435.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.1304, allocations: 0.6332 MB / 436.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.1308, allocations: 0.7281 MB / 436.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.379e-05/0.1309, allocations: 13.95 kB / 436.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.1309, allocations: 19.38 kB / 437 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1309, allocations: 0 / 437 MB, free: 10.07 MB / 366.1 MB Notification: Performance of Templates: time 0.004422/0.1354, allocations: 1.383 MB / 438.3 MB, free: 8.699 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.366737305186689]