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.001661/0.001661, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001853/0.001853, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 59.59 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09364/0.09479, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003182/0.09801, allocations: 2.108 MB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003648/0.09839, allocations: 167.4 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.09851, allocations: 4 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.09868, allocations: 35.66 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.09877, allocations: 43.56 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.09893, allocations: 39.95 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.09915, allocations: 179.2 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.0993, allocations: 62.25 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.09938, allocations: 67.72 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.09949, allocations: 71.7 kB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.09953, allocations: 12 kB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.492e-05/0.09956, allocations: 16 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.524e-05/0.0996, allocations: 39.83 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.09968, allocations: 79.61 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.09986, allocations: 187.3 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.09988, allocations: 0 / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09988, allocations: 3.938 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.09989, allocations: 0 / 362 MB, free: 10.24 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.0005383/0.1004, allocations: 462.8 kB / 362.4 MB, free: 9.738 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.1005, allocations: 12.03 kB / 362.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.1005, allocations: 16.75 kB / 362.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1008, allocations: 216.1 kB / 362.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.1008, allocations: 20.16 kB / 362.7 MB, free: 9.441 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.1008, allocations: 20.28 kB / 362.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.1011, allocations: 182.4 kB / 362.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1011, allocations: 7.938 kB / 362.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1011, allocations: 12 kB / 362.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1011, allocations: 11.92 kB / 362.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1013, allocations: 91.89 kB / 363 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.1024, allocations: 0.9545 MB / 364 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1026, allocations: 99.75 kB / 364.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.1026, allocations: 42.75 kB / 364.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.1027, allocations: 0 / 364.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1027, allocations: 38.56 kB / 364.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.1027, allocations: 0 / 364.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002728/0.103, allocations: 129.8 kB / 364.3 MB, free: 7.707 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.103, allocations: 106.8 kB / 364.4 MB, free: 7.578 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.1032, allocations: 203.8 kB / 364.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1032, allocations: 25.7 kB / 364.6 MB, free: 7.328 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.1033, allocations: 151.8 kB / 364.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.1033, allocations: 47.36 kB / 364.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.1034, allocations: 41.94 kB / 364.8 MB, free: 7.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1035, allocations: 330.8 kB / 365.2 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.1036, allocations: 40.44 kB / 365.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1037, allocations: 148.2 kB / 365.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.1039, allocations: 197.6 kB / 365.5 MB, free: 6.273 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1039, allocations: 4 kB / 365.5 MB, free: 6.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002826/0.1042, allocations: 205.5 kB / 365.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1042, allocations: 16 kB / 365.8 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1043, allocations: 7.984 kB / 365.8 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1043, allocations: 4 kB / 365.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1044, allocations: 51.92 kB / 365.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1044, allocations: 11.92 kB / 365.8 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.1046, allocations: 31.62 kB / 365.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1046, allocations: 12 kB / 365.9 MB, free: 5.93 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 9.287e-05/0.1047, allocations: 133.7 kB / 366 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.1047, allocations: 19.72 kB / 366 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.1048, allocations: 24.92 kB / 366.1 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1048, allocations: 8 kB / 366.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1048, allocations: 0 / 366.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1048, allocations: 3.938 kB / 366.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.1052, allocations: 237.6 kB / 366.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1052, allocations: 0 / 366.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1054, allocations: 35.92 kB / 366.3 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1054, allocations: 4 kB / 366.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.1054, allocations: 0 / 366.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1054, allocations: 0 / 366.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1054, allocations: 8 kB / 366.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.1057, allocations: 389.7 kB / 366.7 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.1058, allocations: 96.92 kB / 366.8 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1058, allocations: 4.141 kB / 366.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.106, allocations: 0 / 366.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.106, allocations: 19.91 kB / 366.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.106, allocations: 8 kB / 366.9 MB, free: 4.859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1061, allocations: 149.5 kB / 367 MB, free: 4.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1061, allocations: 0 / 367 MB, free: 4.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000364/0.1065, allocations: 39.94 kB / 367 MB, free: 4.676 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 8.624e-05/0.1066, allocations: 99.25 kB / 367.1 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.1068, allocations: 116.4 kB / 367.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1068, allocations: 0 / 367.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.1068, allocations: 35.92 kB / 367.3 MB, free: 4.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.1073, allocations: 30.44 kB / 367.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.1082, allocations: 0.6298 MB / 367.9 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1084, allocations: 0.7281 MB / 368.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.004e-05/0.1085, allocations: 21.94 kB / 368.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.1086, allocations: 15.44 kB / 368.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1086, allocations: 0 / 368.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of Templates: time 0.00349/0.1121, allocations: 1.324 MB / 370 MB, free: 1.629 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 -s gbode -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