Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001314/0.001314, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001437/0.001437, allocations: 208.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2506, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00331/0.2539, allocations: 2.029 MB / 433.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003683/0.2543, allocations: 163.4 kB / 433.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.584e-05/0.2544, allocations: 7.938 kB / 433.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.2545, allocations: 23.72 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.984e-05/0.2546, allocations: 51.56 kB / 433.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.2548, allocations: 43.89 kB / 433.9 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.255, allocations: 175.3 kB / 434 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.2551, allocations: 46.34 kB / 434.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.654e-05/0.2552, allocations: 71.72 kB / 434.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2553, allocations: 67.7 kB / 434.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.2554, allocations: 12 kB / 434.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.987e-05/0.2554, allocations: 16 kB / 434.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.2554, allocations: 43.83 kB / 434.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.2555, allocations: 63.67 kB / 434.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.2557, allocations: 185.5 kB / 434.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2557, allocations: 0 / 434.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2557, allocations: 0 / 434.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2557, allocations: 0 / 434.5 MB, free: 3.73 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.0005994/0.2563, allocations: 393.5 kB / 434.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2564, allocations: 12.03 kB / 434.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.2564, allocations: 20.8 kB / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.2567, allocations: 161.8 kB / 435.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.2567, allocations: 16.16 kB / 435.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.2567, allocations: 24.33 kB / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.257, allocations: 178.5 kB / 435.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.257, allocations: 7.875 kB / 435.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.257, allocations: 8 kB / 435.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2571, allocations: 4 kB / 435.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.2572, allocations: 99.88 kB / 435.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.2584, allocations: 0.8414 MB / 436.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.2586, allocations: 103.7 kB / 436.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.2586, allocations: 46.69 kB / 436.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.2586, allocations: 0 / 436.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.2587, allocations: 34.56 kB / 436.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.2587, allocations: 0 / 436.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000289/0.2589, allocations: 126.1 kB / 436.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.259, allocations: 114.7 kB / 436.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.2592, allocations: 174.1 kB / 436.9 MB, free: 1.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2592, allocations: 29.7 kB / 436.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.2593, allocations: 144.1 kB / 437 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.2593, allocations: 59.52 kB / 437.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.2594, allocations: 45.94 kB / 437.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2595, allocations: 326.8 kB / 437.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-05/0.2596, allocations: 40.45 kB / 437.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.2598, allocations: 138.6 kB / 437.6 MB, free: 340 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.26, allocations: 205.5 kB / 437.8 MB, free: 84 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.26, allocations: 0 / 437.8 MB, free: 84 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003265/0.2603, allocations: 209.3 kB / 438 MB, free: 15.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2603, allocations: 8 kB / 438.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2603, allocations: 4 kB / 438.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2604, allocations: 4 kB / 438.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.2605, allocations: 56.31 kB / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.2605, allocations: 11.94 kB / 438.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.2606, allocations: 23.84 kB / 438.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.2606, allocations: 8 kB / 438.2 MB, free: 15.75 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.0001112/0.2608, allocations: 141.7 kB / 438.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.2608, allocations: 11.91 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.2609, allocations: 20.33 kB / 438.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2609, allocations: 4 kB / 438.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2609, allocations: 4 kB / 438.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2609, allocations: 0 / 438.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.2612, allocations: 169.2 kB / 438.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2612, allocations: 8 kB / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.2614, allocations: 27.98 kB / 438.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2614, allocations: 0 / 438.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.2614, allocations: 4 kB / 438.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2614, allocations: 4 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2614, allocations: 3.938 kB / 438.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.2617, allocations: 381.8 kB / 438.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.2618, allocations: 19.98 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2618, allocations: 3.984 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.2619, allocations: 4.062 kB / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.262, allocations: 15.92 kB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.262, allocations: 4 kB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.05e-05/0.262, allocations: 120.1 kB / 439.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.262, allocations: 0 / 439.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.2624, allocations: 51.83 kB / 439.1 MB, free: 14.72 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.0001011/0.2625, allocations: 99.19 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.2627, allocations: 108.5 kB / 439.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2627, allocations: 4.062 kB / 439.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.042e-05/0.2628, allocations: 31.92 kB / 439.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.2633, allocations: 27.92 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2643, allocations: 0.6265 MB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.2644, allocations: 116.1 kB / 440.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.444e-05/0.2645, allocations: 13.48 kB / 440.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.2645, allocations: 15.44 kB / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2645, allocations: 0 / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Templates: time 0.004231/0.2687, allocations: 1.409 MB / 441.6 MB, free: 12.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.462633606046438]