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.001207/0.001207, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.006355/0.006355, allocations: 153.2 kB / 24.69 MB, free: 9.434 MB / 18.57 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 0.8459/0.8459, allocations: 173.4 MB / 201.2 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] 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.983e-06/1.983e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.516e-05, allocations: 2.281 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002875/0.0029, allocations: 2.002 MB / 321.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003424/0.003243, allocations: 159.4 kB / 321.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.003338, allocations: 8 kB / 321.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.003472, allocations: 31.72 kB / 321.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.579e-05/0.003557, allocations: 51.45 kB / 321.9 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.003715, allocations: 47.86 kB / 322 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.003928, allocations: 187.1 kB / 322.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.004082, allocations: 42.45 kB / 322.2 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.004194, allocations: 103.8 kB / 322.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.004295, allocations: 59.81 kB / 322.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.004328, allocations: 12 kB / 322.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.254e-05/0.004351, allocations: 16 kB / 322.4 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.004384, allocations: 27.91 kB / 322.4 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.082e-05/0.004445, allocations: 63.83 kB / 322.5 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.004664, allocations: 175.4 kB / 322.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004666, allocations: 0 / 322.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004667, allocations: 0 / 322.6 MB, free: 2.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.004671, allocations: 0 / 322.6 MB, free: 2.863 MB / 282.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.0005348/0.005206, allocations: 397.5 kB / 323 MB, free: 2.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.005243, allocations: 8.031 kB / 323 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.00529, allocations: 20.8 kB / 323.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.005503, allocations: 153.5 kB / 323.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.005522, allocations: 16.38 kB / 323.2 MB, free: 2.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.005558, allocations: 16.38 kB / 323.2 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.005824, allocations: 186 kB / 323.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.005845, allocations: 12.06 kB / 323.4 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.005863, allocations: 12.38 kB / 323.4 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.005871, allocations: 8.125 kB / 323.4 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.006036, allocations: 91.89 kB / 323.5 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009439/0.00698, allocations: 0.846 MB / 324.4 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.007109, allocations: 99.83 kB / 324.5 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.007165, allocations: 46.52 kB / 324.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.007175, allocations: 4.078 kB / 324.5 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.007195, allocations: 34.56 kB / 324.6 MB, free: 0.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 2.024e-06/0.007197, allocations: 4 kB / 324.6 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002765/0.007473, allocations: 125.5 kB / 324.7 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.007524, allocations: 106.8 kB / 324.8 MB, free: 500 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.007657, allocations: 174.7 kB / 325 MB, free: 316 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.007671, allocations: 29.7 kB / 325 MB, free: 280 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.007751, allocations: 144.2 kB / 325.1 MB, free: 132 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.007787, allocations: 55.53 kB / 325.2 MB, free: 76 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.007846, allocations: 41.94 kB / 325.2 MB, free: 24 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.007964, allocations: 322.8 kB / 325.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.008031, allocations: 40.45 kB / 325.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.008151, allocations: 138.7 kB / 325.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.008355, allocations: 209.9 kB / 325.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.008358, allocations: 7.938 kB / 325.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002789/0.008637, allocations: 213.2 kB / 326.1 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.008654, allocations: 8 kB / 326.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.008662, allocations: 4.406 kB / 326.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.008678, allocations: 8 kB / 326.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.008812, allocations: 51.92 kB / 326.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.008821, allocations: 7.938 kB / 326.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.779e-05/0.008919, allocations: 23.84 kB / 326.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.008932, allocations: 8 kB / 326.3 MB, free: 14.89 MB / 298.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 9.464e-05/0.009026, allocations: 145.6 kB / 326.4 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.009084, allocations: 7.953 kB / 326.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.009121, allocations: 16.34 kB / 326.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.009125, allocations: 4 kB / 326.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.00913, allocations: 4 kB / 326.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.009133, allocations: 0 / 326.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.009478, allocations: 177.1 kB / 326.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.009481, allocations: 4 kB / 326.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.009595, allocations: 23.98 kB / 326.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.009598, allocations: 4 kB / 326.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.00961, allocations: 4 kB / 326.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.009614, allocations: 8 kB / 326.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.009617, allocations: 7.922 kB / 326.6 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.009888, allocations: 381.8 kB / 327 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.009908, allocations: 11.91 kB / 327 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.009931, allocations: 16.05 kB / 327 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.01006, allocations: 0 / 327 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.01008, allocations: 11.98 kB / 327.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.01009, allocations: 4 kB / 327.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.381e-05/0.01016, allocations: 119.2 kB / 327.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01016, allocations: 0 / 327.2 MB, free: 13.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004142/0.01058, allocations: 39.94 kB / 327.2 MB, free: 13.86 MB / 298.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 8.992e-05/0.01067, allocations: 103.2 kB / 327.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.01086, allocations: 107.8 kB / 327.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01086, allocations: 0 / 327.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.501e-05/0.0109, allocations: 36.53 kB / 327.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.01142, allocations: 34.17 kB / 327.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.01217, allocations: 0.5142 MB / 328 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.01227, allocations: 116.2 kB / 328.1 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.01231, allocations: 20.44 kB / 328.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01231, allocations: 4 kB / 328.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of Templates: time 0.003178/0.01549, allocations: 1.953 MB / 330.1 MB, free: 10.91 MB / 298.7 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: 3.984889719635248]