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.001628/0.001628, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002109/0.002109, allocations: 217 kB / 24.5 MB, free: 4.133 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.501/1.501, allocations: 230.5 MB / 258.1 MB, free: 8 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.001942/0.001942, allocations: 63.91 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2644, allocations: 53.42 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003868/0.2683, allocations: 2.119 MB / 434.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004082/0.2687, allocations: 167.3 kB / 434.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2688, allocations: 7.938 kB / 434.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.2689, allocations: 27.72 kB / 434.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.888e-05/0.269, allocations: 55.52 kB / 434.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.2692, allocations: 39.94 kB / 434.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.2695, allocations: 183.2 kB / 435 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.2697, allocations: 38.42 kB / 435.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.2698, allocations: 71.77 kB / 435.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2699, allocations: 67.64 kB / 435.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.2699, allocations: 16 kB / 435.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.27, allocations: 12 kB / 435.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.27, allocations: 43.78 kB / 435.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.2701, allocations: 83.61 kB / 435.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.2703, allocations: 180.5 kB / 435.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2704, allocations: 0 / 435.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2704, allocations: 0 / 435.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2704, allocations: 0 / 435.5 MB, free: 3.641 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.0006846/0.271, allocations: 393.6 kB / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.2711, allocations: 8.031 kB / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.2711, allocations: 24.8 kB / 435.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.2715, allocations: 158.2 kB / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.2715, allocations: 12.16 kB / 436.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.2715, allocations: 28.31 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.2719, allocations: 186.4 kB / 436.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.2719, allocations: 3.938 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.2719, allocations: 12 kB / 436.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.2719, allocations: 4 kB / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.2721, allocations: 99.88 kB / 436.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.2734, allocations: 0.9187 MB / 437.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.2736, allocations: 103.8 kB / 437.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.822e-05/0.2737, allocations: 46.66 kB / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.2737, allocations: 0 / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.2737, allocations: 38.5 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.2737, allocations: 0 / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003263/0.274, allocations: 125.5 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/0.2741, allocations: 110.8 kB / 437.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.2743, allocations: 207.8 kB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.2744, allocations: 25.7 kB / 438 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2745, allocations: 144 kB / 438.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.2745, allocations: 47.64 kB / 438.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.2746, allocations: 49.89 kB / 438.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2747, allocations: 330.8 kB / 438.6 MB, free: 348 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.2748, allocations: 36.45 kB / 438.6 MB, free: 312 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.275, allocations: 154.5 kB / 438.7 MB, free: 108 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.2752, allocations: 194.1 kB / 438.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2752, allocations: 4 kB / 438.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003242/0.2755, allocations: 217.3 kB / 439.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2756, allocations: 10.5 kB / 439.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.2756, allocations: 7.984 kB / 439.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2756, allocations: 4 kB / 439.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.2758, allocations: 47.92 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.2758, allocations: 4 kB / 439.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.2759, allocations: 35.67 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2759, allocations: 16 kB / 439.3 MB, free: 15.52 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.0001181/0.276, allocations: 138 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.2761, allocations: 19.89 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.2761, allocations: 21.03 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2762, allocations: 0 / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2762, allocations: 0 / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.2762, allocations: 7.938 kB / 439.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.2766, allocations: 208.6 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2766, allocations: 4 kB / 439.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.2768, allocations: 27.98 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2768, allocations: 0 / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.2768, allocations: 8 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.2768, allocations: 7.938 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2768, allocations: 0 / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.2772, allocations: 385.8 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.2772, allocations: 15.91 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.2772, allocations: 8.047 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.2774, allocations: 8.125 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.2774, allocations: 11.92 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.2774, allocations: 8 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.2776, allocations: 149.5 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2776, allocations: 0 / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003872/0.278, allocations: 43.89 kB / 440.3 MB, free: 14.4 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.0001176/0.2781, allocations: 99.25 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.2783, allocations: 116 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2783, allocations: 0 / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/0.2784, allocations: 35.92 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.2789, allocations: 23.98 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.28, allocations: 0.6557 MB / 441.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.2804, allocations: 0.7242 MB / 442 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.2804, allocations: 19.44 kB / 442 MB, free: 12.66 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2804, allocations: 0 / 442 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Templates: time 0.004126/0.2845, allocations: 2.021 MB / 444 MB, free: 10.64 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/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: 7.326387166976929]