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.002016/0.002016, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002342/0.002342, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002827/0.002827, allocations: 55.91 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2577, allocations: 53.41 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003573/0.2613, allocations: 2.014 MB / 433.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004288/0.2617, allocations: 167.4 kB / 433.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.2618, allocations: 4 kB / 433.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.262, allocations: 27.66 kB / 433.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.2621, allocations: 51.56 kB / 433.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.2623, allocations: 39.95 kB / 433.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.2625, allocations: 187.2 kB / 434.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.2627, allocations: 34.42 kB / 434.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.2628, allocations: 71.77 kB / 434.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.2629, allocations: 67.64 kB / 434.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.263, allocations: 12 kB / 434.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-05/0.263, allocations: 12 kB / 434.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.263, allocations: 31.92 kB / 434.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.207e-05/0.2631, allocations: 67.66 kB / 434.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.2634, allocations: 189.4 kB / 434.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2634, allocations: 0 / 434.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2634, allocations: 4 kB / 434.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.2634, allocations: 0 / 434.6 MB, free: 3.555 MB / 334.1 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.0006338/0.264, allocations: 389.6 kB / 435 MB, free: 3.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.264, allocations: 11.98 kB / 435 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.2641, allocations: 24.8 kB / 435 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.2644, allocations: 154.3 kB / 435.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.2644, allocations: 24.14 kB / 435.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.2644, allocations: 28.27 kB / 435.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.2648, allocations: 182.4 kB / 435.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.2648, allocations: 3.938 kB / 435.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.2648, allocations: 11.94 kB / 435.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2649, allocations: 4 kB / 435.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.265, allocations: 95.88 kB / 435.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.2663, allocations: 0.8414 MB / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.2665, allocations: 107.8 kB / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.654e-05/0.2666, allocations: 42.66 kB / 436.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.2666, allocations: 0 / 436.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.2666, allocations: 38.56 kB / 436.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.2666, allocations: 0 / 436.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003097/0.2669, allocations: 129.7 kB / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.267, allocations: 102.8 kB / 436.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.2672, allocations: 174.7 kB / 436.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.2672, allocations: 29.7 kB / 437 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2673, allocations: 148.1 kB / 437.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.2674, allocations: 55.52 kB / 437.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.2674, allocations: 45.95 kB / 437.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2676, allocations: 330.8 kB / 437.5 MB, free: 380 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.2677, allocations: 40.45 kB / 437.6 MB, free: 340 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.2678, allocations: 150 kB / 437.7 MB, free: 144 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.2681, allocations: 193.6 kB / 437.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2681, allocations: 0 / 437.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003208/0.2684, allocations: 213.4 kB / 438.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2684, allocations: 8 kB / 438.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2684, allocations: 7.938 kB / 438.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2684, allocations: 4 kB / 438.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2686, allocations: 47.92 kB / 438.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.2686, allocations: 7.984 kB / 438.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2687, allocations: 23.84 kB / 438.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.2687, allocations: 8 kB / 438.2 MB, free: 15.58 MB / 350.1 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.0001167/0.2689, allocations: 145.9 kB / 438.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.2689, allocations: 11.91 kB / 438.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.269, allocations: 20.33 kB / 438.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.269, allocations: 4 kB / 438.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.269, allocations: 0 / 438.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.269, allocations: 0 / 438.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.2693, allocations: 173.5 kB / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2694, allocations: 7.938 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.2695, allocations: 31.92 kB / 438.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2695, allocations: 0 / 438.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.2695, allocations: 7.938 kB / 438.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2695, allocations: 8 kB / 438.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2695, allocations: 4 kB / 438.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.2699, allocations: 381.9 kB / 439 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.2699, allocations: 23.83 kB / 439 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.2699, allocations: 4.062 kB / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.2701, allocations: 0 / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.2701, allocations: 7.984 kB / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.2701, allocations: 8 kB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.375e-05/0.2702, allocations: 119.2 kB / 439.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2702, allocations: 0 / 439.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.2705, allocations: 47.83 kB / 439.2 MB, free: 14.54 MB / 350.1 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.0001061/0.2707, allocations: 107.2 kB / 439.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.2709, allocations: 103.8 kB / 439.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2709, allocations: 0 / 439.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.576e-05/0.2709, allocations: 35.92 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.2714, allocations: 27.59 kB / 439.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.2725, allocations: 0.6264 MB / 440.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.2726, allocations: 116.1 kB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.468e-05/0.2727, allocations: 13.48 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.2728, allocations: 15.44 kB / 440.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2728, allocations: 4 kB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Templates: time 0.004754/0.2775, allocations: 1.321 MB / 441.6 MB, free: 12.13 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.492404455319047]