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.001828/0.001828, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002056/0.002056, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.43/1.43, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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 2.315e-06/2.315e-06, allocations: 0.9688 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/2.045e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003029/0.00305, allocations: 2.026 MB / 327.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003966/0.003446, allocations: 169.7 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.003549, allocations: 8.344 kB / 327.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.003687, allocations: 30.08 kB / 327.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.003795, allocations: 42.88 kB / 327.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.003957, allocations: 50.44 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.004197, allocations: 185.3 kB / 327.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.004349, allocations: 43.17 kB / 327.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.004478, allocations: 110 kB / 327.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.004584, allocations: 43.62 kB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.004614, allocations: 14.16 kB / 327.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-05/0.004645, allocations: 14.31 kB / 327.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.004686, allocations: 34.47 kB / 327.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.004765, allocations: 59.92 kB / 327.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.005011, allocations: 176.9 kB / 328 MB, free: 14.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005014, allocations: 1.672 kB / 328 MB, free: 14.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005015, allocations: 0 / 328 MB, free: 14.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.005019, allocations: 0 / 328 MB, free: 14.67 MB / 302.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.0007002/0.00572, allocations: 394 kB / 328.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.005752, allocations: 13.72 kB / 328.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.005806, allocations: 22.8 kB / 328.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.006035, allocations: 153.5 kB / 328.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.006056, allocations: 16.25 kB / 328.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.006094, allocations: 18.36 kB / 328.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003033/0.006398, allocations: 183.2 kB / 328.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.006416, allocations: 5.438 kB / 328.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.006436, allocations: 6.75 kB / 328.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.006448, allocations: 8.406 kB / 328.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.006632, allocations: 98.31 kB / 328.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.007902, allocations: 0.8428 MB / 329.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.008063, allocations: 103.2 kB / 329.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.008125, allocations: 39.09 kB / 329.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.008136, allocations: 3.156 kB / 329.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.008165, allocations: 41.38 kB / 330 MB, free: 13.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.008167, allocations: 0 / 330 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.000307/0.008474, allocations: 132.8 kB / 330.1 MB, free: 13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.008548, allocations: 106.5 kB / 330.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.008715, allocations: 173.1 kB / 330.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.008739, allocations: 25.7 kB / 330.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.00884, allocations: 149.5 kB / 330.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.00889, allocations: 55.03 kB / 330.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.00896, allocations: 43.98 kB / 330.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.009125, allocations: 327.6 kB / 331 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.009197, allocations: 41.67 kB / 331 MB, free: 12.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.009412, allocations: 141.1 kB / 331.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.009669, allocations: 199.8 kB / 331.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.009673, allocations: 0.6562 kB / 331.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003267/0.01, allocations: 211 kB / 331.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.01001, allocations: 11.03 kB / 331.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.01002, allocations: 5.609 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.01004, allocations: 4.406 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.01021, allocations: 52.11 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.01022, allocations: 5.672 kB / 331.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01033, allocations: 27.19 kB / 331.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.01034, allocations: 9.75 kB / 331.6 MB, free: 11.71 MB / 302.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.0001215/0.01046, allocations: 143.9 kB / 331.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.01053, allocations: 12.53 kB / 331.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.0106, allocations: 17.67 kB / 331.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.01061, allocations: 6.828 kB / 331.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01061, allocations: 1.219 kB / 331.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01061, allocations: 0.7031 kB / 331.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.01099, allocations: 176.6 kB / 332 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01099, allocations: 1.25 kB / 332 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.01115, allocations: 31.08 kB / 332 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.01115, allocations: 5.203 kB / 332 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01117, allocations: 6.703 kB / 332 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01117, allocations: 3.219 kB / 332 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01117, allocations: 0 / 332 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.01151, allocations: 386.3 kB / 332.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.01154, allocations: 24.08 kB / 332.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.01157, allocations: 6.922 kB / 332.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.01171, allocations: 1.672 kB / 332.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.01174, allocations: 11.97 kB / 332.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.01174, allocations: 3.312 kB / 332.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.639e-05/0.01184, allocations: 122.5 kB / 332.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01184, allocations: 3.938 kB / 332.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.01222, allocations: 40.42 kB / 332.6 MB, free: 10.93 MB / 302.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.000113/0.01233, allocations: 108.6 kB / 332.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.01254, allocations: 102.1 kB / 332.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01254, allocations: 1.188 kB / 332.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.01259, allocations: 35.73 kB / 332.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.01308, allocations: 25.59 kB / 332.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008574/0.01394, allocations: 0.495 MB / 333.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.01406, allocations: 114.2 kB / 333.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.01412, allocations: 18.95 kB / 333.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.01416, allocations: 16.47 kB / 333.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01416, allocations: 0 / 333.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Templates: time 0.004219/0.01838, allocations: 1.171 MB / 334.7 MB, free: 9.699 MB / 302.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.058127015829086]