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.002384/0.002384, allocations: 103.5 kB / 21.74 MB, free: 2.684 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.001987/0.001987, allocations: 168.9 kB / 25.03 MB, free: 8.926 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 1.334/1.334, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.604e-05, allocations: 2.312 kB / 250.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003849/0.003885, allocations: 2.093 MB / 252.4 MB, free: 5.746 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004168/0.004302, allocations: 151.4 kB / 252.6 MB, free: 5.598 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.00443, allocations: 11.88 kB / 252.6 MB, free: 5.586 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.00458, allocations: 27.72 kB / 252.6 MB, free: 5.559 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.004693, allocations: 55.56 kB / 252.7 MB, free: 5.504 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.004872, allocations: 39.92 kB / 252.7 MB, free: 5.465 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.005143, allocations: 187.1 kB / 252.9 MB, free: 5.281 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.005295, allocations: 38.47 kB / 252.9 MB, free: 5.242 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.005469, allocations: 103.8 kB / 253 MB, free: 5.141 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.005599, allocations: 51.88 kB / 253.1 MB, free: 5.09 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.005636, allocations: 16 kB / 253.1 MB, free: 5.074 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.519e-05/0.005671, allocations: 16 kB / 253.1 MB, free: 5.059 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.005717, allocations: 35.83 kB / 253.1 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.782e-05/0.005805, allocations: 51.91 kB / 253.2 MB, free: 4.973 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.006108, allocations: 183.3 kB / 253.4 MB, free: 4.793 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.006116, allocations: 4 kB / 253.4 MB, free: 4.789 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006117, allocations: 0 / 253.4 MB, free: 4.789 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.006123, allocations: 0 / 253.4 MB, free: 4.789 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.0007959/0.006919, allocations: 0.4917 MB / 253.9 MB, free: 4.262 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.006957, allocations: 15.98 kB / 253.9 MB, free: 4.246 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.006e-05/0.007047, allocations: 36.78 kB / 253.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.007319, allocations: 156.4 kB / 254.1 MB, free: 4.031 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.007342, allocations: 16.31 kB / 254.1 MB, free: 4.016 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.007387, allocations: 20.33 kB / 254.1 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.007739, allocations: 208.1 kB / 254.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.007755, allocations: 192 / 254.3 MB, free: 3.766 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.007775, allocations: 12.38 kB / 254.3 MB, free: 3.754 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.007786, allocations: 8.125 kB / 254.3 MB, free: 3.746 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.007992, allocations: 99.86 kB / 254.4 MB, free: 3.648 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.009596, allocations: 1.118 MB / 255.6 MB, free: 2.453 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.009798, allocations: 129.2 kB / 255.7 MB, free: 2.289 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.731e-05/0.009875, allocations: 47.23 kB / 255.7 MB, free: 2.23 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.00989, allocations: 4 kB / 255.7 MB, free: 2.227 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.009928, allocations: 37.33 kB / 255.8 MB, free: 2.18 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.009929, allocations: 0 / 255.8 MB, free: 2.18 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003794/0.01031, allocations: 129.5 kB / 255.9 MB, free: 2.047 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/0.01039, allocations: 110.8 kB / 256 MB, free: 1.914 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.01062, allocations: 241.7 kB / 256.2 MB, free: 1.66 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.01065, allocations: 29.7 kB / 256.3 MB, free: 1.625 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.0108, allocations: 198.8 kB / 256.5 MB, free: 1.422 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.01086, allocations: 55.59 kB / 256.5 MB, free: 1.367 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.2e-05/0.01095, allocations: 55.59 kB / 256.6 MB, free: 1.305 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003033/0.01125, allocations: 0.504 MB / 257.1 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.183e-05/0.01132, allocations: 32.45 kB / 257.1 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.01155, allocations: 191.8 kB / 257.3 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.01188, allocations: 255.3 kB / 257.5 MB, free: 192 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.01188, allocations: 4 kB / 257.5 MB, free: 188 kB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004019/0.01228, allocations: 225.2 kB / 257.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.0123, allocations: 11.98 kB / 257.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01231, allocations: 0 / 257.8 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.01233, allocations: 8.406 kB / 257.8 MB, free: 15.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.0125, allocations: 51.92 kB / 257.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.01251, allocations: 11.94 kB / 257.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.01262, allocations: 23.84 kB / 257.9 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.01264, allocations: 8 kB / 257.9 MB, free: 15.84 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 0.0001633/0.0128, allocations: 188.4 kB / 258.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.01288, allocations: 27.84 kB / 258.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.448e-05/0.01293, allocations: 16.34 kB / 258.1 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01294, allocations: 0 / 258.1 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.01294, allocations: 4 kB / 258.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.01295, allocations: 4 kB / 258.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.01339, allocations: 200.4 kB / 258.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01339, allocations: 0 / 258.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.01355, allocations: 31.98 kB / 258.3 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01355, allocations: 0 / 258.3 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.01357, allocations: 4 kB / 258.3 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01357, allocations: 3.938 kB / 258.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01357, allocations: 0 / 258.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.01407, allocations: 0.5176 MB / 258.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.0141, allocations: 11.91 kB / 258.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.01412, allocations: 4 kB / 258.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.01426, allocations: 11.94 kB / 258.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.0143, allocations: 15.91 kB / 258.9 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.0143, allocations: 4 kB / 258.9 MB, free: 14.74 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.01444, allocations: 167.2 kB / 259.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01444, allocations: 0 / 259.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003707/0.01481, allocations: 43.89 kB / 259.1 MB, free: 14.53 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 0.0001328/0.01494, allocations: 95.25 kB / 259.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.0152, allocations: 128.1 kB / 259.3 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.0152, allocations: 0 / 259.3 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.01527, allocations: 44.22 kB / 259.4 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.000509/0.01578, allocations: 39.44 kB / 259.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009337/0.01672, allocations: 0.5137 MB / 259.9 MB, free: 13.66 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.01687, allocations: 112.2 kB / 260 MB, free: 13.54 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.009e-05/0.01695, allocations: 17.48 kB / 260.1 MB, free: 13.52 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.01698, allocations: 16.5 kB / 260.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01698, allocations: 0 / 260.1 MB, free: 13.5 MB / 250.7 MB Notification: Performance of Templates: time 0.004631/0.02161, allocations: 1.181 MB / 261.3 MB, free: 12.33 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.205439735087566]