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.0009565/0.0009566, allocations: 96.89 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009397/0.0009397, allocations: 202 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.7 MB / 247.5 MB, free: 9.508 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002585, allocations: 8 kB / 308.4 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.09388, allocations: 51.52 MB / 359.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002521/0.09645, allocations: 1.811 MB / 361.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004601/0.09695, allocations: 151.4 kB / 361.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.09712, allocations: 11.94 kB / 361.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.09726, allocations: 19.84 kB / 361.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.09738, allocations: 39.69 kB / 361.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.09755, allocations: 35.97 kB / 362 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.0978, allocations: 175.2 kB / 362.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.09796, allocations: 50.16 kB / 362.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.09806, allocations: 55.73 kB / 362.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.09818, allocations: 71.58 kB / 362.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.09822, allocations: 4 kB / 362.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.241e-05/0.09827, allocations: 8 kB / 362.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.09831, allocations: 39.83 kB / 362.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.09843, allocations: 93.31 kB / 362.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.09858, allocations: 127.9 kB / 362.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.0986, allocations: 4 kB / 362.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.09861, allocations: 0 / 362.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.09863, allocations: 0 / 362.6 MB, free: 10.37 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.0005779/0.09921, allocations: 438.9 kB / 363 MB, free: 9.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.09926, allocations: 12.03 kB / 363 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.09932, allocations: 20.75 kB / 363 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.09954, allocations: 220 kB / 363.3 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.09958, allocations: 12.38 kB / 363.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.09963, allocations: 20.36 kB / 363.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.09994, allocations: 174.3 kB / 363.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.09998, allocations: 15.86 kB / 363.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.1, allocations: 12 kB / 363.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1, allocations: 4 kB / 363.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.1002, allocations: 95.88 kB / 363.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.1016, allocations: 0.9547 MB / 364.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.1017, allocations: 103.7 kB / 364.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.4e-05/0.1018, allocations: 46.69 kB / 364.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1018, allocations: 0 / 364.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1018, allocations: 42.55 kB / 364.7 MB, free: 7.988 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.1019, allocations: 0 / 364.7 MB, free: 7.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003225/0.1022, allocations: 125.4 kB / 364.9 MB, free: 7.859 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/0.1023, allocations: 110.8 kB / 365 MB, free: 7.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1025, allocations: 207.7 kB / 365.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.1025, allocations: 25.7 kB / 365.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/0.1026, allocations: 143.8 kB / 365.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.1027, allocations: 47.36 kB / 365.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.1027, allocations: 25.7 kB / 365.4 MB, free: 7.258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1028, allocations: 326.8 kB / 365.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.1029, allocations: 44.44 kB / 365.8 MB, free: 6.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.1031, allocations: 138.7 kB / 365.9 MB, free: 6.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.1033, allocations: 210 kB / 366.1 MB, free: 6.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1033, allocations: 0 / 366.1 MB, free: 6.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000321/0.1037, allocations: 213.4 kB / 366.3 MB, free: 6.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1037, allocations: 8 kB / 366.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1037, allocations: 4 kB / 366.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1037, allocations: 4 kB / 366.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.1039, allocations: 55.86 kB / 366.4 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.1039, allocations: 11.92 kB / 366.4 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.104, allocations: 31.62 kB / 366.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.1041, allocations: 12 kB / 366.4 MB, free: 6.105 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.000101/0.1042, allocations: 137.9 kB / 366.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/0.1043, allocations: 15.81 kB / 366.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.1043, allocations: 20.92 kB / 366.6 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1043, allocations: 4 kB / 366.6 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1043, allocations: 0 / 366.6 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1043, allocations: 3.938 kB / 366.6 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.1048, allocations: 241.5 kB / 366.9 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1048, allocations: 0 / 366.9 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.1049, allocations: 31.98 kB / 366.9 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.105, allocations: 0 / 366.9 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.105, allocations: 12 kB / 366.9 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.105, allocations: 3.938 kB / 366.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.105, allocations: 7.938 kB / 366.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.1053, allocations: 385.7 kB / 367.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.1054, allocations: 92.98 kB / 367.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.1054, allocations: 4 kB / 367.4 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1056, allocations: 8 kB / 367.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.1056, allocations: 11.92 kB / 367.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1056, allocations: 4 kB / 367.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1058, allocations: 149.5 kB / 367.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1058, allocations: 0 / 367.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003812/0.1062, allocations: 43.94 kB / 367.6 MB, free: 4.855 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.0001347/0.1063, allocations: 99.19 kB / 367.7 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.1065, allocations: 119.7 kB / 367.8 MB, free: 4.633 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1066, allocations: 0 / 367.8 MB, free: 4.633 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.1066, allocations: 32.44 kB / 367.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.1072, allocations: 28.17 kB / 367.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1083, allocations: 0.7951 MB / 368.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.1086, allocations: 0.7245 MB / 369.4 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.1087, allocations: 23.44 kB / 369.4 MB, free: 2.965 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1087, allocations: 0 / 369.4 MB, free: 2.965 MB / 302.1 MB Notification: Performance of Templates: time 0.004036/0.1128, allocations: 1.964 MB / 371.4 MB, free: 1.004 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches