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.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.001404/0.001404, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001704/0.001704, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.556/1.556, allocations: 207.6 MB / 236 MB, free: 10.86 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 51.92 kB / 348.4 MB, free: 9.652 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3552, allocations: 49.16 MB / 397.6 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004247/0.3594, allocations: 2.106 MB / 399.7 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004392/0.3599, allocations: 163.9 kB / 399.9 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.36, allocations: 7.625 kB / 399.9 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.3602, allocations: 26.84 kB / 399.9 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.47e-05/0.3603, allocations: 45.8 kB / 399.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.3605, allocations: 43.31 kB / 400 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.3608, allocations: 181 kB / 400.2 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.3609, allocations: 51.56 kB / 400.2 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.169e-05/0.361, allocations: 73.2 kB / 400.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.3611, allocations: 67.98 kB / 400.4 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.3612, allocations: 13.34 kB / 400.4 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.3e-05/0.3612, allocations: 17.47 kB / 400.4 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.3613, allocations: 34.75 kB / 400.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3614, allocations: 80.17 kB / 400.5 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.3617, allocations: 183 kB / 400.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3617, allocations: 0 / 400.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3617, allocations: 0 / 400.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.3617, allocations: 4 kB / 400.7 MB, free: 7.555 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.0006016/0.3623, allocations: 395.9 kB / 401.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3623, allocations: 13.7 kB / 401.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.3624, allocations: 22.12 kB / 401.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.3626, allocations: 154.7 kB / 401.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3627, allocations: 15.22 kB / 401.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.3627, allocations: 24.98 kB / 401.3 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.363, allocations: 180.2 kB / 401.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3631, allocations: 6.188 kB / 401.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.3631, allocations: 5.406 kB / 401.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3631, allocations: 4.188 kB / 401.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.3633, allocations: 107.3 kB / 401.6 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.3645, allocations: 0.9193 MB / 402.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.3647, allocations: 95.56 kB / 402.6 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.3647, allocations: 38.94 kB / 402.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.3648, allocations: 1.219 kB / 402.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.3648, allocations: 46.09 kB / 402.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.3648, allocations: 0 / 402.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000334/0.3651, allocations: 122.8 kB / 402.8 MB, free: 5.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3652, allocations: 106 kB / 402.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.3654, allocations: 199.2 kB / 403.1 MB, free: 5.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.3654, allocations: 35.5 kB / 403.1 MB, free: 5.535 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3655, allocations: 143 kB / 403.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.3656, allocations: 51.66 kB / 403.3 MB, free: 5.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-05/0.3657, allocations: 48.39 kB / 403.4 MB, free: 5.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3658, allocations: 332.9 kB / 403.7 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.3659, allocations: 41.91 kB / 403.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.3661, allocations: 146.7 kB / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.3664, allocations: 197.8 kB / 404.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3664, allocations: 0 / 404.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003792/0.3667, allocations: 221.5 kB / 404.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.3668, allocations: 6.312 kB / 404.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.3668, allocations: 3.875 kB / 404.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.3668, allocations: 14.16 kB / 404.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.367, allocations: 51.2 kB / 404.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.367, allocations: 6.016 kB / 404.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.3672, allocations: 28.81 kB / 404.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.3672, allocations: 12.69 kB / 404.4 MB, free: 4.508 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 0.0001273/0.3673, allocations: 131.8 kB / 404.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.3674, allocations: 25.81 kB / 404.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.068e-05/0.3675, allocations: 20.28 kB / 404.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3675, allocations: 2.375 kB / 404.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.3675, allocations: 5.156 kB / 404.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.3675, allocations: 5.812 kB / 404.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.368, allocations: 210.7 kB / 404.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.368, allocations: 0 / 404.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.3681, allocations: 29.17 kB / 404.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3681, allocations: 1.156 kB / 404.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3682, allocations: 6.062 kB / 404.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3682, allocations: 1.578 kB / 404.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3682, allocations: 1.094 kB / 404.8 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.3685, allocations: 390 kB / 405.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.3685, allocations: 22.81 kB / 405.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.3686, allocations: 7.109 kB / 405.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.3687, allocations: 1.281 kB / 405.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.3688, allocations: 15.38 kB / 405.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3688, allocations: 7.859 kB / 405.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.3689, allocations: 153.3 kB / 405.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3689, allocations: 0 / 405.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.3693, allocations: 35.75 kB / 405.5 MB, free: 3.68 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 0.0001125/0.3694, allocations: 101.2 kB / 405.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.3697, allocations: 105.1 kB / 405.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3697, allocations: 0 / 405.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.3697, allocations: 43.52 kB / 405.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.3702, allocations: 35.77 kB / 405.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000995/0.3712, allocations: 0.6578 MB / 406.4 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.3715, allocations: 0.7214 MB / 407.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.3715, allocations: 22.45 kB / 407.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3715, allocations: 0 / 407.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of Templates: time 0.005011/0.3765, allocations: 2.014 MB / 409.2 MB, free: 2.055 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/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: 7.086050088983029]