Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 180.9 kB / 23.7 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 55.91 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2588, allocations: 52.17 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004944/0.2638, allocations: 2.012 MB / 425.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004835/0.2643, allocations: 163.4 kB / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.2644, allocations: 7.938 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.2645, allocations: 23.72 kB / 425.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2646, allocations: 55.52 kB / 425.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.2648, allocations: 43.88 kB / 425.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.265, allocations: 179.2 kB / 425.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.2652, allocations: 45.3 kB / 425.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.2653, allocations: 71.78 kB / 425.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.2654, allocations: 59.64 kB / 425.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.2654, allocations: 16 kB / 425.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.167e-05/0.2654, allocations: 16 kB / 425.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.2655, allocations: 39.84 kB / 425.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.603e-05/0.2656, allocations: 67.66 kB / 425.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.2658, allocations: 177.7 kB / 426 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2658, allocations: 0 / 426 MB, free: 11.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2658, allocations: 0 / 426 MB, free: 11.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2658, allocations: 0 / 426 MB, free: 11.53 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.0006452/0.2665, allocations: 397.5 kB / 426.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2665, allocations: 16.02 kB / 426.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.2666, allocations: 16.84 kB / 426.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.2669, allocations: 158.2 kB / 426.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.2669, allocations: 16.38 kB / 426.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.2669, allocations: 16.38 kB / 426.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.2673, allocations: 182.4 kB / 426.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.2673, allocations: 7.891 kB / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.2673, allocations: 8 kB / 426.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2673, allocations: 4 kB / 426.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.2675, allocations: 99.88 kB / 426.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.2689, allocations: 0.8492 MB / 427.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.269, allocations: 95.73 kB / 427.9 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.022e-05/0.2691, allocations: 46.75 kB / 427.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.2691, allocations: 0 / 427.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.2691, allocations: 38.56 kB / 427.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.083e-06/0.2691, allocations: 0 / 427.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003049/0.2695, allocations: 121.5 kB / 428.1 MB, free: 9.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/0.2695, allocations: 114.7 kB / 428.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2697, allocations: 162.2 kB / 428.3 MB, free: 8.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.2697, allocations: 29.7 kB / 428.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2698, allocations: 159.9 kB / 428.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.2699, allocations: 51.59 kB / 428.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.27, allocations: 41.94 kB / 428.6 MB, free: 8.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2701, allocations: 326.8 kB / 428.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.2702, allocations: 40.45 kB / 429 MB, free: 8.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.2703, allocations: 139.8 kB / 429.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.2706, allocations: 198 kB / 429.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2706, allocations: 3.938 kB / 429.3 MB, free: 7.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003491/0.271, allocations: 217.2 kB / 429.5 MB, free: 7.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.271, allocations: 8 kB / 429.5 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.271, allocations: 4 kB / 429.5 MB, free: 7.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.271, allocations: 4 kB / 429.5 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.2712, allocations: 52.31 kB / 429.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.2712, allocations: 11.94 kB / 429.6 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.2714, allocations: 23.84 kB / 429.6 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.2714, allocations: 12 kB / 429.6 MB, free: 7.562 MB / 334.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.0001424/0.2716, allocations: 137.7 kB / 429.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.2716, allocations: 11.95 kB / 429.8 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.2717, allocations: 20.33 kB / 429.8 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2717, allocations: 4 kB / 429.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2717, allocations: 0 / 429.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2717, allocations: 0 / 429.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.2721, allocations: 173.1 kB / 430 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2721, allocations: 8 kB / 430 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.2722, allocations: 31.98 kB / 430 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2722, allocations: 0 / 430 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2723, allocations: 0 / 430 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2723, allocations: 7.938 kB / 430 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2723, allocations: 3.984 kB / 430 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.2726, allocations: 389.7 kB / 430.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.2727, allocations: 15.91 kB / 430.4 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.2727, allocations: 4.062 kB / 430.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.2728, allocations: 0 / 430.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.2729, allocations: 11.92 kB / 430.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.2729, allocations: 12.12 kB / 430.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.273, allocations: 128 kB / 430.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.273, allocations: 0 / 430.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.2734, allocations: 43.88 kB / 430.6 MB, free: 6.52 MB / 334.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.0001018/0.2735, allocations: 103.2 kB / 430.7 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.2737, allocations: 100.5 kB / 430.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2737, allocations: 4.062 kB / 430.8 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.355e-05/0.2737, allocations: 35.92 kB / 430.8 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.2742, allocations: 32.62 kB / 430.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2753, allocations: 0.614 MB / 431.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.2754, allocations: 124 kB / 431.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.342e-05/0.2755, allocations: 13.48 kB / 431.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.2755, allocations: 15.44 kB / 431.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2755, allocations: 0 / 431.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of Templates: time 0.004674/0.2802, allocations: 1.34 MB / 433 MB, free: 4.098 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.442568063735962]