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.001327/0.001327, allocations: 116.9 kB / 18.41 MB, free: 4.516 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.001324/0.001325, allocations: 186.9 kB / 21.34 MB, free: 1.59 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.488/1.488, allocations: 222.9 MB / 247 MB, free: 4.184 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: 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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 47.92 kB / 358.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.106, allocations: 49.44 MB / 408.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003961/0.11, allocations: 2.094 MB / 410.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005024/0.1105, allocations: 167.4 kB / 410.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.1107, allocations: 11.88 kB / 410.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.1109, allocations: 23.73 kB / 410.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.1111, allocations: 51.55 kB / 410.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.1113, allocations: 43.95 kB / 410.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.1116, allocations: 175.2 kB / 410.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1118, allocations: 62.2 kB / 410.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1119, allocations: 67.78 kB / 410.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1121, allocations: 71.64 kB / 410.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.1121, allocations: 12 kB / 410.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-05/0.1122, allocations: 16 kB / 410.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.1122, allocations: 35.8 kB / 410.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1123, allocations: 91.58 kB / 411 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.1126, allocations: 171.3 kB / 411.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1126, allocations: 0 / 411.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1126, allocations: 0 / 411.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1126, allocations: 0 / 411.2 MB, free: 3.734 MB / 334.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.0007186/0.1134, allocations: 470.7 kB / 411.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1134, allocations: 15.89 kB / 411.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.1135, allocations: 16.84 kB / 411.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.1138, allocations: 220 kB / 411.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1139, allocations: 12.38 kB / 411.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.1139, allocations: 24.31 kB / 411.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.1143, allocations: 186.2 kB / 412.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.1143, allocations: 7.938 kB / 412.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.1143, allocations: 4 kB / 412.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1143, allocations: 4 kB / 412.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.1145, allocations: 103.9 kB / 412.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.116, allocations: 0.9547 MB / 413.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.1162, allocations: 111.7 kB / 413.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.1162, allocations: 42.75 kB / 413.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.1163, allocations: 0 / 413.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.713e-05/0.1163, allocations: 42.5 kB / 413.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.1164, allocations: 0 / 413.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003226/0.1167, allocations: 133.6 kB / 413.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.1168, allocations: 102.8 kB / 413.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.117, allocations: 215.7 kB / 413.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.117, allocations: 29.7 kB / 413.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/0.1171, allocations: 136.1 kB / 414 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.1172, allocations: 55.53 kB / 414 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.348e-05/0.1173, allocations: 41.94 kB / 414.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1174, allocations: 338.8 kB / 414.4 MB, free: 212 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.382e-05/0.1175, allocations: 40.45 kB / 414.4 MB, free: 172 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.1178, allocations: 140.2 kB / 414.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.118, allocations: 197.5 kB / 414.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.1181, allocations: 4 kB / 414.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003409/0.1184, allocations: 221.1 kB / 415 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1184, allocations: 8 kB / 415 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1184, allocations: 4 kB / 415 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1185, allocations: 4 kB / 415 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.1186, allocations: 48.33 kB / 415 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1187, allocations: 8 kB / 415 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.1188, allocations: 31.72 kB / 415.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.1188, allocations: 16 kB / 415.1 MB, free: 15.4 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.0001227/0.119, allocations: 129.8 kB / 415.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.119, allocations: 19.91 kB / 415.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.1191, allocations: 16.94 kB / 415.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1191, allocations: 4 kB / 415.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.1191, allocations: 8.484 kB / 415.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.1191, allocations: 3.938 kB / 415.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.1196, allocations: 249.4 kB / 415.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1196, allocations: 0 / 415.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.1198, allocations: 27.98 kB / 415.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1198, allocations: 7.984 kB / 415.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1198, allocations: 4 kB / 415.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1198, allocations: 0 / 415.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.1198, allocations: 4 kB / 415.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1202, allocations: 389.8 kB / 415.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.365e-05/0.1203, allocations: 93 kB / 416 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.1203, allocations: 8.062 kB / 416 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.1205, allocations: 0 / 416 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.1205, allocations: 11.92 kB / 416 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1205, allocations: 4 kB / 416 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1207, allocations: 157.4 kB / 416.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1207, allocations: 0 / 416.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003735/0.1211, allocations: 40 kB / 416.2 MB, free: 14.14 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.0001424/0.1212, allocations: 103.2 kB / 416.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1215, allocations: 107.8 kB / 416.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1215, allocations: 0 / 416.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.734e-05/0.1215, allocations: 40.73 kB / 416.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.1221, allocations: 38.12 kB / 416.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1232, allocations: 0.654 MB / 417.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.1236, allocations: 0.7319 MB / 417.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.1237, allocations: 19.44 kB / 417.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1237, allocations: 0 / 417.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Templates: time 0.004559/0.1283, allocations: 1.998 MB / 419.9 MB, free: 10.39 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.1103677180362865]