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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.36 kB / 307 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1051, allocations: 50.54 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003548/0.1087, allocations: 2.096 MB / 359.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003854/0.1091, allocations: 175.4 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1092, allocations: 4 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1093, allocations: 23.67 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.1095, allocations: 47.56 kB / 359.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.1096, allocations: 39.95 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.1099, allocations: 187.2 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.11, allocations: 62.27 kB / 360.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.915e-05/0.1101, allocations: 63.8 kB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1102, allocations: 75.61 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1103, allocations: 16 kB / 360.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.103e-05/0.1103, allocations: 12 kB / 360.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.1104, allocations: 31.86 kB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.11e-05/0.1105, allocations: 79.61 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1107, allocations: 187.6 kB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1107, allocations: 0 / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1107, allocations: 3.938 kB / 360.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1107, allocations: 0 / 360.6 MB, free: 10.97 MB / 302.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.0006454/0.1114, allocations: 462.8 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1114, allocations: 12.03 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.1115, allocations: 20.75 kB / 361.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1117, allocations: 218.7 kB / 361.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.1117, allocations: 12.38 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.1118, allocations: 16.28 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.1121, allocations: 190.2 kB / 361.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1121, allocations: 3.938 kB / 361.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.1121, allocations: 15.94 kB / 361.5 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1121, allocations: 4 kB / 361.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.1123, allocations: 95.88 kB / 361.6 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1137, allocations: 0.9545 MB / 362.6 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1138, allocations: 107.8 kB / 362.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.1139, allocations: 38.58 kB / 362.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.1139, allocations: 0 / 362.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.114, allocations: 42.58 kB / 362.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.114, allocations: 4 kB / 362.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003509/0.1143, allocations: 133.8 kB / 362.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.1144, allocations: 102.8 kB / 363 MB, free: 8.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.1146, allocations: 203.9 kB / 363.2 MB, free: 8.086 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1146, allocations: 25.7 kB / 363.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1147, allocations: 143.8 kB / 363.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.1148, allocations: 55.33 kB / 363.4 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.1149, allocations: 33.95 kB / 363.5 MB, free: 7.812 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.115, allocations: 342.8 kB / 363.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-05/0.1151, allocations: 36.45 kB / 363.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.1153, allocations: 144.2 kB / 364 MB, free: 7.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.1155, allocations: 193.5 kB / 364.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1155, allocations: 4 kB / 364.2 MB, free: 7.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003229/0.1159, allocations: 209.1 kB / 364.4 MB, free: 6.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1159, allocations: 10.97 kB / 364.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1159, allocations: 4 kB / 364.4 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1159, allocations: 4.406 kB / 364.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.1161, allocations: 63.84 kB / 364.5 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.1161, allocations: 4 kB / 364.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1162, allocations: 31.62 kB / 364.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.1163, allocations: 12 kB / 364.5 MB, free: 6.668 MB / 302.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.0001229/0.1164, allocations: 133.7 kB / 364.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.1165, allocations: 19.72 kB / 364.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.1165, allocations: 20.92 kB / 364.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.1165, allocations: 4 kB / 364.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1165, allocations: 0 / 364.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1165, allocations: 7.938 kB / 364.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.117, allocations: 233.6 kB / 364.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.117, allocations: 0 / 364.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.1172, allocations: 35.92 kB / 364.9 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1172, allocations: 0 / 364.9 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1172, allocations: 4 kB / 365 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1172, allocations: 0 / 365 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.1172, allocations: 8 kB / 365 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.1176, allocations: 397.9 kB / 365.3 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.1177, allocations: 92.98 kB / 365.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1177, allocations: 4 kB / 365.4 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1178, allocations: 11.92 kB / 365.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.1179, allocations: 7.938 kB / 365.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1179, allocations: 4 kB / 365.5 MB, free: 5.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.118, allocations: 149.5 kB / 365.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.118, allocations: 4 kB / 365.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003683/0.1184, allocations: 39.94 kB / 365.7 MB, free: 5.418 MB / 302.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.0001154/0.1185, allocations: 103.2 kB / 365.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1188, allocations: 107.8 kB / 365.9 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1188, allocations: 4.75 kB / 365.9 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.1188, allocations: 43.92 kB / 365.9 MB, free: 5.156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.1194, allocations: 19.98 kB / 365.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1205, allocations: 0.6452 MB / 366.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1209, allocations: 0.7281 MB / 367.3 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.643e-05/0.1209, allocations: 21.94 kB / 367.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.121, allocations: 15.44 kB / 367.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.121, allocations: 0 / 367.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of Templates: time 0.004247/0.1252, allocations: 1.326 MB / 368.7 MB, free: 2.355 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (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) 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) Reference file matches