Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001915/0.003071, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002621, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9598/0.9598, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08163/1.041, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.837e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00339/0.003408, allocations: 2.16 MB / 247.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004132/0.003822, allocations: 179.2 kB / 247.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.003929, allocations: 7.938 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.253e-05/0.004022, allocations: 27.72 kB / 247.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.004132, allocations: 55.5 kB / 247.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.004253, allocations: 35.95 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.004474, allocations: 187.1 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.004609, allocations: 51.11 kB / 247.7 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.004784, allocations: 111.7 kB / 247.8 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.004927, allocations: 55.81 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.004968, allocations: 12 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.656e-05/0.004995, allocations: 12 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.00503, allocations: 27.88 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.897e-05/0.005099, allocations: 47.88 kB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.005325, allocations: 107.6 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.957e-05/0.005345, allocations: 0 / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005346, allocations: 0 / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.005368, allocations: 0 / 248.1 MB, free: 10.58 MB / 250.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.0006509/0.006019, allocations: 407.8 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.006059, allocations: 8.031 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.006115, allocations: 24.92 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.006313, allocations: 157.5 kB / 248.6 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.006332, allocations: 20.09 kB / 248.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.006367, allocations: 16.38 kB / 248.7 MB, free: 9.914 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.006561, allocations: 146.4 kB / 248.8 MB, free: 9.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.006576, allocations: 192 / 248.8 MB, free: 9.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.006591, allocations: 12.38 kB / 248.8 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.0066, allocations: 8.125 kB / 248.8 MB, free: 9.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.974e-05/0.0067, allocations: 51.89 kB / 248.9 MB, free: 9.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008841/0.007584, allocations: 0.7557 MB / 249.6 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.007688, allocations: 87.81 kB / 249.7 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.007722, allocations: 26.52 kB / 249.8 MB, free: 8.727 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.007736, allocations: 4 kB / 249.8 MB, free: 8.723 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.007762, allocations: 42.44 kB / 249.8 MB, free: 8.672 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.007764, allocations: 0 / 249.8 MB, free: 8.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002085/0.007972, allocations: 89.8 kB / 249.9 MB, free: 8.578 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.008022, allocations: 110.8 kB / 250 MB, free: 8.445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.00815, allocations: 171 kB / 250.2 MB, free: 8.266 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.008162, allocations: 29.7 kB / 250.2 MB, free: 8.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.008234, allocations: 144.1 kB / 250.3 MB, free: 8.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.008276, allocations: 59.45 kB / 250.4 MB, free: 8.027 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.008334, allocations: 45.92 kB / 250.4 MB, free: 7.973 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.008431, allocations: 326.8 kB / 250.8 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.008459, allocations: 16.45 kB / 250.8 MB, free: 7.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-05/0.00855, allocations: 122.6 kB / 250.9 MB, free: 7.461 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.008713, allocations: 169.4 kB / 251.1 MB, free: 7.246 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.207e-06/0.008716, allocations: 0 / 251.1 MB, free: 7.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002045/0.008921, allocations: 153.2 kB / 251.2 MB, free: 7.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.008939, allocations: 8 kB / 251.2 MB, free: 7.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.008949, allocations: 7.984 kB / 251.2 MB, free: 7.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.008962, allocations: 4 kB / 251.2 MB, free: 7.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.009119, allocations: 63.91 kB / 251.3 MB, free: 7.008 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.009129, allocations: 11.94 kB / 251.3 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.125e-05/0.00922, allocations: 20.25 kB / 251.3 MB, free: 6.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.009232, allocations: 12 kB / 251.3 MB, free: 6.965 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 8.068e-05/0.009313, allocations: 129.7 kB / 251.5 MB, free: 6.828 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.009377, allocations: 15.92 kB / 251.5 MB, free: 6.812 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.009418, allocations: 20.33 kB / 251.5 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.00942, allocations: 0 / 251.5 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.009424, allocations: 0.5625 kB / 251.5 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.009428, allocations: 4 kB / 251.5 MB, free: 6.789 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.009732, allocations: 117.8 kB / 251.6 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.009735, allocations: 0 / 251.6 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/0.009821, allocations: 35.92 kB / 251.7 MB, free: 6.621 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.009838, allocations: 23.78 kB / 251.7 MB, free: 6.598 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.00984, allocations: 0 / 251.7 MB, free: 6.598 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.009852, allocations: 7.984 kB / 251.7 MB, free: 6.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.009854, allocations: 0 / 251.7 MB, free: 6.59 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009855, allocations: 0 / 251.7 MB, free: 6.59 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.01003, allocations: 349.9 kB / 252 MB, free: 6.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.01005, allocations: 11.88 kB / 252 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.01012, allocations: 0 / 252 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.01014, allocations: 11.98 kB / 252 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.01014, allocations: 0 / 252 MB, free: 6.207 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.65e-05/0.01017, allocations: 40.81 kB / 252.1 MB, free: 6.164 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01017, allocations: 0 / 252.1 MB, free: 6.164 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.01037, allocations: 40 kB / 252.1 MB, free: 6.125 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.398e-05/0.01045, allocations: 76.42 kB / 252.2 MB, free: 6.039 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.01055, allocations: 89.36 kB / 252.3 MB, free: 5.949 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.01056, allocations: 4 kB / 252.3 MB, free: 5.945 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.01058, allocations: 36.84 kB / 252.3 MB, free: 5.906 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.01086, allocations: 39.12 kB / 252.4 MB, free: 5.875 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007965/0.01165, allocations: 358.3 kB / 252.7 MB, free: 5.492 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.842e-05/0.0117, allocations: 75.98 kB / 252.8 MB, free: 5.398 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.283e-05/0.01174, allocations: 17.48 kB / 252.8 MB, free: 5.383 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.0118, allocations: 71.36 kB / 252.9 MB, free: 5.312 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01181, allocations: 0 / 252.9 MB, free: 5.312 MB / 250.7 MB Notification: Performance of Templates: time 0.002747/0.01455, allocations: 1.319 MB / 254.2 MB, free: 4.016 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.5409738728776574]