Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001367/0.001367, allocations: 106 kB / 21.18 MB, free: 0.6992 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.00213/0.00213, allocations: 179.7 kB / 24.46 MB, free: 4.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 47.92 kB / 347.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3194, allocations: 49.16 MB / 396.8 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003183/0.3225, allocations: 2.102 MB / 398.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003498/0.3229, allocations: 155.5 kB / 399.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.323, allocations: 11.19 kB / 399.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.3232, allocations: 30.3 kB / 399.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.722e-05/0.3232, allocations: 43.75 kB / 399.1 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.3235, allocations: 38.58 kB / 399.2 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.3237, allocations: 175.9 kB / 399.3 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.3239, allocations: 57.23 kB / 399.4 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.324, allocations: 73.17 kB / 399.5 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.3242, allocations: 74.78 kB / 399.5 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.3242, allocations: 18.16 kB / 399.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.658e-05/0.3243, allocations: 13.25 kB / 399.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.3243, allocations: 30.45 kB / 399.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.3244, allocations: 83.61 kB / 399.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.3247, allocations: 182.6 kB / 399.9 MB, free: 7.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3247, allocations: 4.641 kB / 399.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3247, allocations: 0 / 399.9 MB, free: 7.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3247, allocations: 1.219 kB / 399.9 MB, free: 7.508 MB / 318.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.0005907/0.3253, allocations: 396.1 kB / 400.3 MB, free: 7.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3253, allocations: 12.73 kB / 400.3 MB, free: 7.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.3254, allocations: 23.14 kB / 400.3 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.3257, allocations: 158.9 kB / 400.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3257, allocations: 14.91 kB / 400.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.3257, allocations: 16.03 kB / 400.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.326, allocations: 184.9 kB / 400.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.326, allocations: 9.281 kB / 400.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.326, allocations: 10.39 kB / 400.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.326, allocations: 3.562 kB / 400.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.3262, allocations: 103.9 kB / 400.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.3273, allocations: 0.9187 MB / 401.7 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.3275, allocations: 100 kB / 401.8 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.3275, allocations: 37.98 kB / 401.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.3275, allocations: 2.125 kB / 401.8 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.3276, allocations: 42.11 kB / 401.9 MB, free: 5.844 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.3276, allocations: 0 / 401.9 MB, free: 5.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003135/0.3279, allocations: 122.7 kB / 402 MB, free: 5.781 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3279, allocations: 109.9 kB / 402.1 MB, free: 5.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.3281, allocations: 200.4 kB / 402.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.3281, allocations: 31.08 kB / 402.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.3282, allocations: 143.3 kB / 402.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.3282, allocations: 53.48 kB / 402.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.3283, allocations: 45.42 kB / 402.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.087e-05/0.3284, allocations: 336.5 kB / 402.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.3284, allocations: 41.7 kB / 402.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3285, allocations: 138.5 kB / 403.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.3287, allocations: 206.3 kB / 403.3 MB, free: 4.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3287, allocations: 1.281 kB / 403.3 MB, free: 4.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003117/0.3291, allocations: 219.9 kB / 403.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3291, allocations: 7.141 kB / 403.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3291, allocations: 7.5 kB / 403.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.3291, allocations: 5.656 kB / 403.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3293, allocations: 47.81 kB / 403.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3293, allocations: 6.766 kB / 403.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.3294, allocations: 31.91 kB / 403.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.3294, allocations: 10.44 kB / 403.6 MB, free: 4.461 MB / 318.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 7.366e-05/0.3295, allocations: 141.4 kB / 403.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.3295, allocations: 17.09 kB / 403.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.3296, allocations: 21.5 kB / 403.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3296, allocations: 3.938 kB / 403.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3296, allocations: 1.219 kB / 403.8 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3296, allocations: 5.062 kB / 403.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.3299, allocations: 214.3 kB / 404 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3299, allocations: 5.031 kB / 404 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3301, allocations: 28.45 kB / 404 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3301, allocations: 1.125 kB / 404 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3301, allocations: 2.047 kB / 404 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3301, allocations: 2.25 kB / 404 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3301, allocations: 4 kB / 404 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.3304, allocations: 393.7 kB / 404.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.3304, allocations: 22.66 kB / 404.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.3304, allocations: 3.781 kB / 404.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.3306, allocations: 5.625 kB / 404.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.3306, allocations: 10.97 kB / 404.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.3306, allocations: 3.25 kB / 404.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.3307, allocations: 153.7 kB / 404.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3307, allocations: 0 / 404.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.3311, allocations: 36.06 kB / 404.7 MB, free: 3.629 MB / 318.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 8.507e-05/0.3311, allocations: 101.3 kB / 404.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.3314, allocations: 106.7 kB / 404.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3314, allocations: 0 / 404.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.006e-05/0.3315, allocations: 33.98 kB / 404.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.332, allocations: 42.55 kB / 404.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.3328, allocations: 0.6319 MB / 405.6 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.333, allocations: 0.7261 MB / 406.3 MB, free: 2.258 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.57e-05/0.3331, allocations: 20.7 kB / 406.3 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.3331, allocations: 16.72 kB / 406.3 MB, free: 2.246 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3331, allocations: 0 / 406.3 MB, free: 2.246 MB / 318.1 MB Notification: Performance of Templates: time 0.004669/0.3378, allocations: 1.465 MB / 407.8 MB, free: 2.094 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.7103007808327675]