Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00231/0.00231, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 43.94 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1074, allocations: 53.33 MB / 426.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003488/0.1109, allocations: 2.12 MB / 428.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000403/0.1113, allocations: 171.4 kB / 429.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1114, allocations: 4 kB / 429.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.1116, allocations: 31.66 kB / 429.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.1117, allocations: 47.56 kB / 429.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.1118, allocations: 43.94 kB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.1121, allocations: 183.2 kB / 429.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1122, allocations: 42.3 kB / 429.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.1123, allocations: 67.77 kB / 429.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1124, allocations: 75.64 kB / 429.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1125, allocations: 12 kB / 429.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.762e-05/0.1125, allocations: 16 kB / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.1125, allocations: 27.92 kB / 429.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.1126, allocations: 87.53 kB / 429.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1129, allocations: 179.2 kB / 429.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1129, allocations: 0 / 429.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1129, allocations: 3.938 kB / 429.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1129, allocations: 0 / 429.9 MB, free: 1.176 MB / 350.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.0007002/0.1136, allocations: 468.9 kB / 430.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1136, allocations: 12.03 kB / 430.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.1137, allocations: 20.8 kB / 430.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.114, allocations: 216.1 kB / 430.6 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.114, allocations: 16.16 kB / 430.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.114, allocations: 32.27 kB / 430.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1143, allocations: 186.2 kB / 430.8 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1144, allocations: 3.938 kB / 430.8 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1144, allocations: 4 kB / 430.8 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.1144, allocations: 4 kB / 430.8 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.1146, allocations: 107.9 kB / 430.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2115/0.3261, allocations: 0.9566 MB / 431.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.3263, allocations: 100.4 kB / 432 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/0.3263, allocations: 38.34 kB / 432 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.3263, allocations: 1.781 kB / 432 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.3263, allocations: 41.42 kB / 432.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.3263, allocations: 0 / 432.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003153/0.3267, allocations: 127.1 kB / 432.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.3267, allocations: 109.7 kB / 432.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.3269, allocations: 201.6 kB / 432.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.3269, allocations: 29.08 kB / 432.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.327, allocations: 138.3 kB / 432.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.327, allocations: 56.3 kB / 432.7 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.3271, allocations: 47.5 kB / 432.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.3271, allocations: 334 kB / 433.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.3272, allocations: 36.23 kB / 433.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3273, allocations: 147.5 kB / 433.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.3275, allocations: 193.9 kB / 433.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3275, allocations: 1.344 kB / 433.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003169/0.3278, allocations: 218.2 kB / 433.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3278, allocations: 7.406 kB / 433.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3278, allocations: 7.781 kB / 433.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3279, allocations: 3.969 kB / 433.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.328, allocations: 53.67 kB / 433.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.328, allocations: 11.23 kB / 433.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.3281, allocations: 30.62 kB / 433.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.3282, allocations: 11.62 kB / 433.8 MB, free: 9.336 MB / 350.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 7.624e-05/0.3282, allocations: 132.9 kB / 433.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.701e-05/0.3283, allocations: 14.88 kB / 433.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.3283, allocations: 21.56 kB / 433.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3283, allocations: 2.312 kB / 433.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3284, allocations: 6.188 kB / 434 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3284, allocations: 2.578 kB / 434 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.3287, allocations: 247.5 kB / 434.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3287, allocations: 1.969 kB / 434.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.3289, allocations: 29.95 kB / 434.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3289, allocations: 3.375 kB / 434.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3289, allocations: 6.594 kB / 434.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3289, allocations: 0.5938 kB / 434.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3289, allocations: 5.766 kB / 434.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.3291, allocations: 393.9 kB / 434.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.3292, allocations: 88.39 kB / 434.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.3292, allocations: 5.156 kB / 434.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.3293, allocations: 8.109 kB / 434.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.3294, allocations: 9.812 kB / 434.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3294, allocations: 8.344 kB / 434.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.929e-05/0.3295, allocations: 148.5 kB / 434.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3295, allocations: 0 / 434.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000381/0.3298, allocations: 37.16 kB / 434.9 MB, free: 8.523 MB / 350.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.0001001/0.3299, allocations: 112.5 kB / 435 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.3301, allocations: 111.6 kB / 435.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3302, allocations: 0 / 435.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.796e-05/0.3302, allocations: 35.59 kB / 435.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.3307, allocations: 29.12 kB / 435.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008996/0.3316, allocations: 0.6246 MB / 435.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.3318, allocations: 0.7279 MB / 436.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.705e-05/0.3319, allocations: 20.44 kB / 436.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.3319, allocations: 16.22 kB / 436.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3319, allocations: 1.031 kB / 436.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of Templates: time 0.004801/0.3367, allocations: 1.386 MB / 438 MB, free: 7.156 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.685005966573954]