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.001039/0.001039, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 192.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.7 MB / 246.4 MB, free: 11.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002189/0.000219, allocations: 8 kB / 307.1 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09186, allocations: 51.52 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002119/0.09402, allocations: 1.749 MB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002994/0.09434, allocations: 163.4 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.09444, allocations: 3.938 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.09455, allocations: 19.84 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.09463, allocations: 47.67 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.09476, allocations: 19.98 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.09495, allocations: 175.2 kB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.0951, allocations: 61.84 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.842e-05/0.09516, allocations: 51.8 kB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.211e-05/0.09526, allocations: 59.7 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.09529, allocations: 8 kB / 361 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.246e-05/0.09532, allocations: 12 kB / 361 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.09535, allocations: 23.91 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.09541, allocations: 61.58 kB / 361.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.09555, allocations: 123.9 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.09556, allocations: 0 / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09557, allocations: 0 / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.09558, allocations: 0 / 361.2 MB, free: 11.06 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.0005333/0.09612, allocations: 442.8 kB / 361.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.09616, allocations: 8.031 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.09621, allocations: 15.81 kB / 361.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.09641, allocations: 210.8 kB / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.09644, allocations: 12 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.09648, allocations: 23.95 kB / 361.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.09677, allocations: 185.6 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.0968, allocations: 3.906 kB / 362.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.09682, allocations: 8 kB / 362.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.09683, allocations: 4 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.097, allocations: 107.4 kB / 362.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.09814, allocations: 0.951 MB / 363.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.09829, allocations: 103.8 kB / 363.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.09835, allocations: 34.58 kB / 363.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.09837, allocations: 8.078 kB / 363.3 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.09841, allocations: 38.5 kB / 363.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.09841, allocations: 0 / 363.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002769/0.09869, allocations: 122 kB / 363.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.09875, allocations: 114.8 kB / 363.5 MB, free: 8.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.09894, allocations: 207.7 kB / 363.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.09896, allocations: 29.7 kB / 363.8 MB, free: 8.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.09904, allocations: 131.9 kB / 363.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.09909, allocations: 63.17 kB / 364 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.0991, allocations: 4 kB / 364 MB, free: 7.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.09921, allocations: 330.8 kB / 364.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-05/0.0993, allocations: 36.45 kB / 364.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.09944, allocations: 146.6 kB / 364.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.625e-05/0.09954, allocations: 63.91 kB / 364.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.09955, allocations: 0 / 364.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003048/0.09986, allocations: 213.1 kB / 364.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.09988, allocations: 4 kB / 364.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.09989, allocations: 4 kB / 364.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.09991, allocations: 8 kB / 364.8 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1001, allocations: 48.33 kB / 364.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.1001, allocations: 19.92 kB / 364.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1002, allocations: 27.69 kB / 364.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1002, allocations: 8 kB / 364.9 MB, free: 7.023 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.1003, allocations: 137.5 kB / 365 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.1004, allocations: 19.81 kB / 365 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.1005, allocations: 20.92 kB / 365 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1005, allocations: 0 / 365 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1005, allocations: 8 kB / 365 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1005, allocations: 4 kB / 365 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.1009, allocations: 249.5 kB / 365.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1009, allocations: 0 / 365.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1011, allocations: 27.98 kB / 365.3 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1011, allocations: 0 / 365.3 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.1011, allocations: 4 kB / 365.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1011, allocations: 0 / 365.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1011, allocations: 0 / 365.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.1014, allocations: 401.6 kB / 365.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.1015, allocations: 96.98 kB / 365.8 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1015, allocations: 3.938 kB / 365.8 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.1016, allocations: 4 kB / 365.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.1017, allocations: 7.984 kB / 365.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1017, allocations: 4 kB / 365.8 MB, free: 5.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1018, allocations: 149.5 kB / 366 MB, free: 5.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1018, allocations: 0 / 366 MB, free: 5.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.1022, allocations: 47.94 kB / 366 MB, free: 5.766 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.648e-05/0.1023, allocations: 99.19 kB / 366.1 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.1025, allocations: 116 kB / 366.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1025, allocations: 0.8125 kB / 366.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.67e-05/0.1025, allocations: 31.92 kB / 366.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.103, allocations: 38.52 kB / 366.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009551/0.104, allocations: 0.7462 MB / 367 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1043, allocations: 0.7284 MB / 367.8 MB, free: 3.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.1044, allocations: 21.94 kB / 367.8 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.1044, allocations: 19.44 kB / 367.8 MB, free: 3.906 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1044, allocations: 0 / 367.8 MB, free: 3.906 MB / 302.1 MB Notification: Performance of Templates: time 0.003493/0.1079, allocations: 1.215 MB / 369 MB, free: 2.695 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.0.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