Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009659/0.0009659, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001008/0.001008, allocations: 161.9 kB / 25.33 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9098/0.9098, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 251 MB, free: 7.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.495e-05, allocations: 2.312 kB / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002342/0.002366, allocations: 2.105 MB / 253.1 MB, free: 5.41 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004005/0.002767, allocations: 163.4 kB / 253.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.002863, allocations: 4 kB / 253.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.003, allocations: 31.66 kB / 253.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.003072, allocations: 51.5 kB / 253.4 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.003232, allocations: 43.94 kB / 253.4 MB, free: 5.121 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.003405, allocations: 183.1 kB / 253.6 MB, free: 4.941 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.003536, allocations: 38.47 kB / 253.6 MB, free: 4.902 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.779e-05/0.003624, allocations: 99.78 kB / 253.7 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.53e-05/0.003719, allocations: 55.88 kB / 253.8 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.003743, allocations: 15.94 kB / 253.8 MB, free: 4.734 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.195e-05/0.003765, allocations: 16 kB / 253.8 MB, free: 4.719 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.003792, allocations: 31.89 kB / 253.9 MB, free: 4.688 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.583e-05/0.003848, allocations: 59.84 kB / 253.9 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.004008, allocations: 123.4 kB / 254 MB, free: 4.508 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.00401, allocations: 4 kB / 254 MB, free: 4.504 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004011, allocations: 0 / 254 MB, free: 4.504 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004015, allocations: 0 / 254 MB, free: 4.504 MB / 234.7 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.0004592/0.004474, allocations: 495.8 kB / 254.5 MB, free: 3.984 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.004515, allocations: 15.98 kB / 254.5 MB, free: 3.969 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.004571, allocations: 28.84 kB / 254.6 MB, free: 3.941 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.00475, allocations: 156.3 kB / 254.7 MB, free: 3.762 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.004765, allocations: 16.38 kB / 254.7 MB, free: 3.746 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.004808, allocations: 16.38 kB / 254.7 MB, free: 3.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.005022, allocations: 184.1 kB / 254.9 MB, free: 3.523 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.005034, allocations: 192 / 254.9 MB, free: 3.523 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.005053, allocations: 12.36 kB / 254.9 MB, free: 3.512 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.005064, allocations: 8.125 kB / 254.9 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.005168, allocations: 75.5 kB / 255 MB, free: 3.434 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/0.006002, allocations: 1.071 MB / 256.1 MB, free: 2.285 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.006102, allocations: 113.3 kB / 256.2 MB, free: 2.137 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.006142, allocations: 39.14 kB / 256.2 MB, free: 2.086 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.006151, allocations: 4 kB / 256.2 MB, free: 2.082 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.006174, allocations: 41.39 kB / 256.3 MB, free: 2.031 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.006175, allocations: 0 / 256.3 MB, free: 2.031 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002092/0.006384, allocations: 113.4 kB / 256.4 MB, free: 1.914 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.006428, allocations: 102.8 kB / 256.5 MB, free: 1.789 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.006558, allocations: 225.7 kB / 256.7 MB, free: 1.547 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.006571, allocations: 29.7 kB / 256.7 MB, free: 1.512 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.00666, allocations: 198.8 kB / 256.9 MB, free: 1.312 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.00669, allocations: 51.58 kB / 257 MB, free: 1.262 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.006735, allocations: 47.61 kB / 257 MB, free: 1.207 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.006851, allocations: 0.4962 MB / 257.5 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.006888, allocations: 24.45 kB / 257.6 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.48e-05/0.006983, allocations: 175.8 kB / 257.7 MB, free: 448 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.007129, allocations: 219.3 kB / 257.9 MB, free: 160 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.007132, allocations: 3.938 kB / 257.9 MB, free: 156 kB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002018/0.007334, allocations: 193.3 kB / 258.1 MB, free: 15.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.007348, allocations: 8.406 kB / 258.1 MB, free: 15.95 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.007356, allocations: 12 kB / 258.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.007374, allocations: 4 kB / 258.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.007472, allocations: 55.91 kB / 258.2 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.00748, allocations: 4 kB / 258.2 MB, free: 15.87 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.007538, allocations: 23.78 kB / 258.2 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.007548, allocations: 15.94 kB / 258.3 MB, free: 15.83 MB / 250.7 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.7e-05/0.007625, allocations: 176.5 kB / 258.4 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.007667, allocations: 15.91 kB / 258.4 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.007711, allocations: 20.33 kB / 258.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.007713, allocations: 4 kB / 258.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.007718, allocations: 4 kB / 258.5 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.007722, allocations: 0 / 258.5 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.007953, allocations: 176.5 kB / 258.6 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007955, allocations: 4 kB / 258.6 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.385e-05/0.008039, allocations: 31.98 kB / 258.7 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.00804, allocations: 0 / 258.7 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.008057, allocations: 4 kB / 258.7 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.008058, allocations: 0 / 258.7 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008058, allocations: 0 / 258.7 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.008298, allocations: 0.4979 MB / 259.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.008313, allocations: 15.91 kB / 259.2 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.00833, allocations: 8 kB / 259.2 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.008403, allocations: 0 / 259.2 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.008423, allocations: 7.984 kB / 259.2 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.008429, allocations: 8 kB / 259.2 MB, free: 14.8 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.827e-05/0.008487, allocations: 151.2 kB / 259.4 MB, free: 14.65 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008487, allocations: 0 / 259.4 MB, free: 14.65 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.008735, allocations: 47.89 kB / 259.4 MB, free: 14.61 MB / 250.7 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 7.189e-05/0.008806, allocations: 99.17 kB / 259.5 MB, free: 14.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.00895, allocations: 103.7 kB / 259.6 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008951, allocations: 0 / 259.6 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.008983, allocations: 35.97 kB / 259.6 MB, free: 14.35 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.009305, allocations: 28.03 kB / 259.7 MB, free: 14.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.009898, allocations: 0.5103 MB / 260.2 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.369e-05/0.009951, allocations: 71.98 kB / 260.3 MB, free: 13.69 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.103e-05/0.009992, allocations: 17.48 kB / 260.3 MB, free: 13.67 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.01002, allocations: 16.5 kB / 260.3 MB, free: 13.66 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01003, allocations: 0 / 260.3 MB, free: 13.66 MB / 250.7 MB Notification: Performance of Templates: time 0.002915/0.01294, allocations: 1.187 MB / 261.5 MB, free: 12.48 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9047553231939673]