Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 81.5 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 151.2 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 173.4 MB / 200.4 MB, free: 12.83 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.089e-05, allocations: 2.281 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002487/0.002508, allocations: 2.001 MB / 320.9 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00033/0.002838, allocations: 160.6 kB / 321.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.843e-05/0.002936, allocations: 8.062 kB / 321.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.00306, allocations: 30.17 kB / 321.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.714e-05/0.003148, allocations: 56.22 kB / 321.2 MB, free: 2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.003288, allocations: 42.34 kB / 321.2 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.003499, allocations: 183.9 kB / 321.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.00364, allocations: 44.77 kB / 321.4 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.003762, allocations: 106.1 kB / 321.5 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.003885, allocations: 48.02 kB / 321.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.003937, allocations: 13.75 kB / 321.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.602e-05/0.003973, allocations: 13.19 kB / 321.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.004011, allocations: 34.41 kB / 321.6 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.69e-05/0.004107, allocations: 65.56 kB / 321.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.004423, allocations: 185.5 kB / 321.9 MB, free: 1.672 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004425, allocations: 3.938 kB / 321.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.004426, allocations: 0 / 321.9 MB, free: 1.668 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.00444, allocations: 0.9688 kB / 321.9 MB, free: 1.668 MB / 286.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.000611/0.005051, allocations: 390 kB / 322.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.005089, allocations: 9.953 kB / 322.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.005138, allocations: 22.42 kB / 322.3 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.005357, allocations: 154.9 kB / 322.4 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.005375, allocations: 14.31 kB / 322.5 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.005413, allocations: 15.88 kB / 322.5 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.005681, allocations: 190.2 kB / 322.7 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.005701, allocations: 6.203 kB / 322.7 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.005719, allocations: 5.562 kB / 322.7 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.005728, allocations: 9.594 kB / 322.7 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.005905, allocations: 96.91 kB / 322.8 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009805/0.006886, allocations: 0.8474 MB / 323.6 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.007009, allocations: 100.5 kB / 323.7 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.243e-05/0.007061, allocations: 42.77 kB / 323.8 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.007072, allocations: 1.312 kB / 323.8 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.007087, allocations: 34.8 kB / 323.8 MB, free: 80 kB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.007088, allocations: 0 / 323.8 MB, free: 80 kB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002922/0.00738, allocations: 130.2 kB / 323.9 MB, free: 8 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.007469, allocations: 106.6 kB / 324 MB, free: 15.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.007642, allocations: 174.5 kB / 324.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.007663, allocations: 30.86 kB / 324.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.007773, allocations: 150.2 kB / 324.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.007822, allocations: 57.86 kB / 324.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.264e-05/0.007904, allocations: 43.42 kB / 324.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.008068, allocations: 326.9 kB / 324.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.008144, allocations: 38.23 kB / 324.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/0.008331, allocations: 141.6 kB / 325 MB, free: 15.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.008606, allocations: 202.8 kB / 325.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.008609, allocations: 1.812 kB / 325.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000334/0.008943, allocations: 211.1 kB / 325.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.00896, allocations: 7.625 kB / 325.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.008968, allocations: 6.688 kB / 325.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.008988, allocations: 5.5 kB / 325.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.009146, allocations: 55.81 kB / 325.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.009156, allocations: 6.297 kB / 325.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.009271, allocations: 23.69 kB / 325.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.009286, allocations: 13.62 kB / 325.5 MB, free: 14.7 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.0001385/0.009425, allocations: 140.1 kB / 325.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.009494, allocations: 10.83 kB / 325.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.009539, allocations: 22.94 kB / 325.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.009543, allocations: 2.75 kB / 325.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.009548, allocations: 0 / 325.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.009553, allocations: 1.891 kB / 325.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.009943, allocations: 172.5 kB / 325.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.009945, allocations: 1.375 kB / 325.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.0101, allocations: 35.2 kB / 325.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.0101, allocations: 1.375 kB / 325.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.01012, allocations: 7.594 kB / 325.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.01012, allocations: 1.375 kB / 325.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01012, allocations: 0 / 325.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.01047, allocations: 385.9 kB / 326.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.0105, allocations: 17.48 kB / 326.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.01052, allocations: 7.234 kB / 326.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.01067, allocations: 5.328 kB / 326.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.0107, allocations: 12.05 kB / 326.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.01071, allocations: 3.906 kB / 326.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.839e-05/0.01081, allocations: 120.7 kB / 326.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01081, allocations: 0 / 326.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003815/0.01119, allocations: 40.91 kB / 326.5 MB, free: 13.93 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.0001214/0.01131, allocations: 100 kB / 326.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.01152, allocations: 103.5 kB / 326.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01152, allocations: 0 / 326.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.893e-05/0.01158, allocations: 40.7 kB / 326.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.0121, allocations: 34.47 kB / 326.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.01296, allocations: 0.4886 MB / 327.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.01308, allocations: 115 kB / 327.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.083e-05/0.01314, allocations: 20.98 kB / 327.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.01318, allocations: 15.69 kB / 327.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01318, allocations: 0 / 327.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Templates: time 0.004541/0.01772, allocations: 1.166 MB / 328.5 MB, free: 13.13 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.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.217226836830378]