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.001367/0.001367, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 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.001632/0.001632, allocations: 162.5 kB / 24.5 MB, free: 3.449 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.45/1.45, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.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.00191/0.00191, allocations: 61.36 kB / 325.5 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1053, allocations: 53.39 MB / 378.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004647/0.11, allocations: 2.032 MB / 380.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006249/0.1106, allocations: 167.4 kB / 381.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.1108, allocations: 4 kB / 381.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.111, allocations: 35.66 kB / 381.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.1112, allocations: 39.58 kB / 381.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.1114, allocations: 39.95 kB / 381.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.1118, allocations: 183.2 kB / 381.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.112, allocations: 42.48 kB / 381.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1121, allocations: 67.72 kB / 381.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.1123, allocations: 63.69 kB / 381.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.1123, allocations: 12 kB / 381.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.808e-05/0.1124, allocations: 16 kB / 381.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.1124, allocations: 35.84 kB / 381.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1125, allocations: 67.67 kB / 381.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.1128, allocations: 183.2 kB / 381.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1128, allocations: 0 / 381.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1128, allocations: 0 / 381.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1129, allocations: 4 kB / 381.9 MB, free: 12.57 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.000752/0.1136, allocations: 389.5 kB / 382.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1136, allocations: 15.97 kB / 382.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.1137, allocations: 24.8 kB / 382.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1141, allocations: 160.9 kB / 382.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1141, allocations: 12.16 kB / 382.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.1141, allocations: 24.33 kB / 382.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.1145, allocations: 182.4 kB / 382.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1146, allocations: 3.938 kB / 382.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.1146, allocations: 12 kB / 382.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1146, allocations: 4 kB / 382.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.1149, allocations: 99.88 kB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.1166, allocations: 0.8457 MB / 383.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.1168, allocations: 103.7 kB / 383.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.1169, allocations: 42.75 kB / 383.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.1169, allocations: 4 kB / 383.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.117, allocations: 34.56 kB / 383.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.117, allocations: 0 / 383.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004267/0.1174, allocations: 129.4 kB / 383.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.1175, allocations: 114.8 kB / 384 MB, free: 10.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.1177, allocations: 166.8 kB / 384.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1178, allocations: 29.7 kB / 384.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1179, allocations: 148.1 kB / 384.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.229e-05/0.1179, allocations: 59.47 kB / 384.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.118, allocations: 49.94 kB / 384.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1182, allocations: 326.8 kB / 384.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1183, allocations: 36.45 kB / 384.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.1185, allocations: 142.6 kB / 385 MB, free: 9.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.1189, allocations: 202 kB / 385.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1189, allocations: 0 / 385.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005082/0.1194, allocations: 217.5 kB / 385.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1194, allocations: 4 kB / 385.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1194, allocations: 4 kB / 385.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1195, allocations: 4 kB / 385.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.1197, allocations: 55.91 kB / 385.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.1197, allocations: 7.938 kB / 385.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.1199, allocations: 23.84 kB / 385.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.1199, allocations: 16 kB / 385.5 MB, free: 8.574 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.0001172/0.12, allocations: 137.7 kB / 385.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.1201, allocations: 20.06 kB / 385.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.1202, allocations: 20.33 kB / 385.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1202, allocations: 0 / 385.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1202, allocations: 0 / 385.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1202, allocations: 4 kB / 385.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.1206, allocations: 173.2 kB / 385.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1206, allocations: 0 / 385.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.1207, allocations: 31.92 kB / 385.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1207, allocations: 0 / 385.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1207, allocations: 4 kB / 385.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1207, allocations: 0 / 385.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1207, allocations: 4 kB / 385.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1211, allocations: 389.9 kB / 386.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.1211, allocations: 11.91 kB / 386.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1211, allocations: 0 / 386.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1213, allocations: 8.062 kB / 386.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.1213, allocations: 11.92 kB / 386.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1213, allocations: 0 / 386.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.1214, allocations: 119.2 kB / 386.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1214, allocations: 0 / 386.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.1218, allocations: 47.83 kB / 386.5 MB, free: 7.551 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.000114/0.1219, allocations: 111.2 kB / 386.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.1222, allocations: 99.78 kB / 386.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1222, allocations: 0 / 386.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-05/0.1222, allocations: 35.92 kB / 386.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.1227, allocations: 24.8 kB / 386.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1238, allocations: 0.6261 MB / 387.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.1239, allocations: 116.2 kB / 387.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.048e-05/0.124, allocations: 13.42 kB / 387.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.124, allocations: 16.5 kB / 387.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.124, allocations: 0 / 387.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of Templates: time 0.004048/0.128, allocations: 1.17 MB / 388.7 MB, free: 5.309 MB / 350.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 -s ida -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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.139480831916444]