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.001026/0.001026, allocations: 107.6 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.08 kB / 306.4 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09727, allocations: 50.53 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003751/0.1011, allocations: 2.153 MB / 359.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003234/0.1014, allocations: 163.4 kB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-05/0.1015, allocations: 4 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.1017, allocations: 23.84 kB / 359.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.029e-05/0.1018, allocations: 35.64 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.1019, allocations: 43.95 kB / 359.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.1021, allocations: 183.2 kB / 359.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1023, allocations: 58.27 kB / 359.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.1024, allocations: 67.78 kB / 359.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1025, allocations: 79.62 kB / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.1025, allocations: 12 kB / 359.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.878e-05/0.1025, allocations: 16 kB / 359.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.1026, allocations: 31.86 kB / 359.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.1027, allocations: 83.59 kB / 359.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1029, allocations: 175.6 kB / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1029, allocations: 0 / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.701e-06/0.1029, allocations: 4 kB / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1029, allocations: 3.938 kB / 360.1 MB, free: 11.27 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.0006207/0.1035, allocations: 466.8 kB / 360.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1036, allocations: 8.031 kB / 360.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.1036, allocations: 20.75 kB / 360.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.1039, allocations: 216 kB / 360.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1039, allocations: 12.38 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.1039, allocations: 24.28 kB / 360.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.1042, allocations: 190.2 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1043, allocations: 3.938 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1043, allocations: 8 kB / 361 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1043, allocations: 4 kB / 361 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.1045, allocations: 99.88 kB / 361.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.1057, allocations: 0.9508 MB / 362.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1059, allocations: 103.8 kB / 362.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.1059, allocations: 34.58 kB / 362.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1059, allocations: 11.98 kB / 362.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.106, allocations: 34.64 kB / 362.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 3.637e-06/0.106, allocations: 0 / 362.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002791/0.1063, allocations: 137.3 kB / 362.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.1063, allocations: 106.8 kB / 362.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1065, allocations: 199.8 kB / 362.7 MB, free: 8.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1066, allocations: 29.7 kB / 362.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.1066, allocations: 151.7 kB / 362.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.1067, allocations: 47.34 kB / 362.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.1068, allocations: 41.95 kB / 362.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1069, allocations: 338.8 kB / 363.3 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.1069, allocations: 36.45 kB / 363.3 MB, free: 7.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1071, allocations: 146.6 kB / 363.5 MB, free: 7.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.1073, allocations: 193.5 kB / 363.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1073, allocations: 0 / 363.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002973/0.1076, allocations: 217.1 kB / 363.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1076, allocations: 8 kB / 363.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1076, allocations: 0 / 363.9 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1077, allocations: 8.703 kB / 363.9 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1078, allocations: 52.25 kB / 363.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1078, allocations: 12 kB / 363.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.108, allocations: 31.62 kB / 364 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.108, allocations: 12 kB / 364 MB, free: 6.965 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.235e-05/0.1081, allocations: 133.7 kB / 364.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.1082, allocations: 23.72 kB / 364.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.1082, allocations: 20.92 kB / 364.2 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1082, allocations: 0 / 364.2 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1082, allocations: 4 kB / 364.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1082, allocations: 7.922 kB / 364.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.1087, allocations: 241.6 kB / 364.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1087, allocations: 0 / 364.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1088, allocations: 31.92 kB / 364.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1088, allocations: 0 / 364.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1089, allocations: 8 kB / 364.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1089, allocations: 0 / 364.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1089, allocations: 0 / 364.4 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.1092, allocations: 397.7 kB / 364.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.1092, allocations: 88.92 kB / 364.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.1093, allocations: 8.062 kB / 364.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1094, allocations: 7.984 kB / 364.9 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.1095, allocations: 11.88 kB / 364.9 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1095, allocations: 4 kB / 364.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1096, allocations: 153.5 kB / 365.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1096, allocations: 0 / 365.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003778/0.11, allocations: 43.94 kB / 365.1 MB, free: 5.707 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.0001145/0.1101, allocations: 103.2 kB / 365.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1103, allocations: 103.8 kB / 365.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1103, allocations: 0 / 365.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.1104, allocations: 36.73 kB / 365.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.111, allocations: 47.34 kB / 365.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.112, allocations: 0.6801 MB / 366.1 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1123, allocations: 0.7242 MB / 366.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.616e-05/0.1124, allocations: 21.94 kB / 366.8 MB, free: 3.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.1124, allocations: 19.44 kB / 366.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1124, allocations: 0 / 366.9 MB, free: 3.918 MB / 302.1 MB Notification: Performance of Templates: time 0.003677/0.1161, allocations: 1.312 MB / 368.2 MB, free: 2.613 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