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.0009791/0.0009791, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.0009891/0.0009891, allocations: 162.7 kB / 25.61 MB, free: 8.91 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.9542/0.9542, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.402e-06/1.402e-06, allocations: 0 / 251.4 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.5e-05, allocations: 2.312 kB / 251.4 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002418/0.002433, allocations: 2.089 MB / 253.5 MB, free: 5.172 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003428/0.002776, allocations: 163.4 kB / 253.7 MB, free: 5.008 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.899e-05/0.002865, allocations: 4 kB / 253.7 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.002985, allocations: 23.73 kB / 253.7 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.00306, allocations: 59.42 kB / 253.8 MB, free: 4.922 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.00319, allocations: 39.95 kB / 253.8 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.003363, allocations: 191.1 kB / 254 MB, free: 4.695 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.003478, allocations: 38.47 kB / 254 MB, free: 4.656 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.129e-05/0.003569, allocations: 99.78 kB / 254.1 MB, free: 4.559 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.873e-05/0.003658, allocations: 55.8 kB / 254.2 MB, free: 4.504 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.003679, allocations: 12 kB / 254.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.003699, allocations: 16 kB / 254.2 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.003724, allocations: 31.91 kB / 254.3 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.003769, allocations: 59.83 kB / 254.3 MB, free: 4.387 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.003916, allocations: 123.5 kB / 254.4 MB, free: 4.266 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003918, allocations: 0 / 254.4 MB, free: 4.266 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003918, allocations: 0 / 254.4 MB, free: 4.266 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003922, allocations: 0 / 254.4 MB, free: 4.266 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.0004156/0.004338, allocations: 495.7 kB / 254.9 MB, free: 3.746 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.004373, allocations: 15.98 kB / 254.9 MB, free: 3.73 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.004421, allocations: 40.83 kB / 255 MB, free: 3.691 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.004569, allocations: 168 kB / 255.1 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.004581, allocations: 8.375 kB / 255.1 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.004607, allocations: 24.36 kB / 255.2 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.00476, allocations: 168.1 kB / 255.3 MB, free: 3.281 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.004771, allocations: 192 / 255.3 MB, free: 3.281 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.004781, allocations: 4.375 kB / 255.3 MB, free: 3.277 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.004792, allocations: 12.12 kB / 255.3 MB, free: 3.266 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.853e-05/0.004861, allocations: 59.5 kB / 255.4 MB, free: 3.211 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.005621, allocations: 1.052 MB / 256.5 MB, free: 2.09 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.431e-05/0.005716, allocations: 109.1 kB / 256.6 MB, free: 1.945 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.005748, allocations: 43.22 kB / 256.6 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.005756, allocations: 4 kB / 256.6 MB, free: 1.887 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.005778, allocations: 33.39 kB / 256.6 MB, free: 1.844 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.00578, allocations: 0 / 256.6 MB, free: 1.844 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001738/0.005953, allocations: 105.4 kB / 256.7 MB, free: 1.734 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.005989, allocations: 110.8 kB / 256.9 MB, free: 1.602 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.006091, allocations: 221.7 kB / 257.1 MB, free: 1.367 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.006101, allocations: 33.64 kB / 257.1 MB, free: 1.328 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.006182, allocations: 202.8 kB / 257.3 MB, free: 1.125 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.006208, allocations: 51.58 kB / 257.4 MB, free: 1.074 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.006251, allocations: 51.58 kB / 257.4 MB, free: 1.016 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.006358, allocations: 0.4962 MB / 257.9 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.006379, allocations: 16.45 kB / 257.9 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.957e-05/0.006458, allocations: 163.8 kB / 258.1 MB, free: 272 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.006585, allocations: 206.8 kB / 258.3 MB, free: 16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.006588, allocations: 0 / 258.3 MB, free: 16 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001602/0.006748, allocations: 189.7 kB / 258.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.006758, allocations: 8 kB / 258.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.006764, allocations: 4 kB / 258.5 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.006777, allocations: 8.125 kB / 258.5 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.006866, allocations: 47.92 kB / 258.5 MB, free: 15.74 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.006871, allocations: 4 kB / 258.5 MB, free: 15.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.00693, allocations: 32.17 kB / 258.6 MB, free: 15.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.006938, allocations: 16 kB / 258.6 MB, free: 15.69 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 6.765e-05/0.007006, allocations: 168.5 kB / 258.7 MB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.007047, allocations: 27.78 kB / 258.8 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.007086, allocations: 20.33 kB / 258.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.00709, allocations: 4 kB / 258.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.007092, allocations: 0 / 258.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.007096, allocations: 0 / 258.8 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.007313, allocations: 149.1 kB / 258.9 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.007315, allocations: 0 / 258.9 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.007389, allocations: 27.98 kB / 259 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.007392, allocations: 7.938 kB / 259 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.007404, allocations: 8 kB / 259 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.007405, allocations: 4 kB / 259 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.007407, allocations: 4 kB / 259 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.007615, allocations: 498 kB / 259.5 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.007904, allocations: 15.91 kB / 259.5 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.007918, allocations: 3.938 kB / 259.5 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.007991, allocations: 4 kB / 259.5 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.008008, allocations: 11.98 kB / 259.5 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.008012, allocations: 0 / 259.5 MB, free: 14.69 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.496e-05/0.008067, allocations: 155.1 kB / 259.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008067, allocations: 0 / 259.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.008305, allocations: 47.89 kB / 259.7 MB, free: 14.49 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.086e-05/0.008376, allocations: 95.19 kB / 259.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.008493, allocations: 96.17 kB / 259.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.008494, allocations: 0 / 259.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.008522, allocations: 39.67 kB / 259.9 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.008819, allocations: 28.03 kB / 260 MB, free: 14.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.009326, allocations: 0.5099 MB / 260.5 MB, free: 13.67 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.009372, allocations: 71.98 kB / 260.5 MB, free: 13.58 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4e-05/0.009412, allocations: 17.48 kB / 260.6 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.009484, allocations: 98.19 kB / 260.7 MB, free: 13.47 MB / 250.7 MB Notification: Performance of SimCode: time 4.11e-07/0.009485, allocations: 0 / 260.7 MB, free: 13.47 MB / 250.7 MB Notification: Performance of Templates: time 0.002827/0.01231, allocations: 1.294 MB / 262 MB, free: 12.19 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.5769921629689634]