Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 111.4 kB / 21.17 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 209.5 kB / 24.47 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.37/1.37, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 59.89 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2346, allocations: 53.31 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003387/0.238, allocations: 2.134 MB / 434.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003524/0.2384, allocations: 167.4 kB / 434.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-05/0.2384, allocations: 7.938 kB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.2386, allocations: 23.72 kB / 434.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.117e-05/0.2387, allocations: 47.56 kB / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.2388, allocations: 39.94 kB / 434.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.2391, allocations: 183.2 kB / 434.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.2392, allocations: 46.28 kB / 434.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.525e-05/0.2393, allocations: 71.72 kB / 434.7 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.2394, allocations: 71.62 kB / 434.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.2394, allocations: 16 kB / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.478e-05/0.2395, allocations: 12 kB / 434.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.2395, allocations: 35.84 kB / 434.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.2396, allocations: 79.61 kB / 434.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.2398, allocations: 188.7 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2398, allocations: 0 / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2398, allocations: 4 kB / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2399, allocations: 0 / 435.1 MB, free: 4.273 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.0006491/0.2405, allocations: 462.7 kB / 435.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.2405, allocations: 8.031 kB / 435.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.2406, allocations: 20.8 kB / 435.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.2409, allocations: 216.2 kB / 435.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.2409, allocations: 16.16 kB / 435.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.2409, allocations: 20.33 kB / 435.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.2412, allocations: 182.4 kB / 436 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.2412, allocations: 7.938 kB / 436 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.2413, allocations: 8 kB / 436.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.2413, allocations: 4 kB / 436.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.2414, allocations: 99.88 kB / 436.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.2427, allocations: 0.9587 MB / 437.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.2429, allocations: 103.8 kB / 437.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.243, allocations: 38.52 kB / 437.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.243, allocations: 8.078 kB / 437.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.243, allocations: 38.5 kB / 437.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.243, allocations: 0 / 437.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003027/0.2433, allocations: 133.5 kB / 437.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.2434, allocations: 102.8 kB / 437.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.2436, allocations: 208.7 kB / 437.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.2436, allocations: 29.7 kB / 437.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2437, allocations: 140.1 kB / 437.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.2437, allocations: 51.56 kB / 438 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.2438, allocations: 49.91 kB / 438 MB, free: 1.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.244, allocations: 330.8 kB / 438.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.244, allocations: 40.45 kB / 438.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.2442, allocations: 150.6 kB / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.2444, allocations: 197.5 kB / 438.7 MB, free: 308 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2444, allocations: 0 / 438.7 MB, free: 308 kB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003221/0.2447, allocations: 213.9 kB / 438.9 MB, free: 88 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2448, allocations: 8 kB / 438.9 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2448, allocations: 8.391 kB / 438.9 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2448, allocations: 8 kB / 438.9 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.2449, allocations: 55.91 kB / 439 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.245, allocations: 4 kB / 439 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2451, allocations: 35.83 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2451, allocations: 8 kB / 439 MB, free: 15.96 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.0001121/0.2452, allocations: 133.8 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.2453, allocations: 15.91 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.2453, allocations: 24.86 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2453, allocations: 4 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2453, allocations: 4 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2453, allocations: 3.938 kB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.2458, allocations: 241.5 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2458, allocations: 0 / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.2459, allocations: 31.98 kB / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2459, allocations: 0 / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2459, allocations: 4 kB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2459, allocations: 0 / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2459, allocations: 3.938 kB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.2463, allocations: 396.6 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.2464, allocations: 93.08 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.2464, allocations: 3.984 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.2465, allocations: 8 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.2466, allocations: 7.938 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.2466, allocations: 4 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.2467, allocations: 152.5 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2467, allocations: 0 / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.2471, allocations: 43.95 kB / 440.2 MB, free: 14.71 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.0001232/0.2472, allocations: 107.1 kB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.2474, allocations: 104.4 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2474, allocations: 4.062 kB / 440.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.947e-05/0.2475, allocations: 39.92 kB / 440.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.2479, allocations: 31.23 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.249, allocations: 0.6541 MB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.2493, allocations: 0.7242 MB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.2494, allocations: 15.44 kB / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2494, allocations: 0 / 441.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Templates: time 0.003937/0.2533, allocations: 2.022 MB / 443.9 MB, free: 10.94 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.566058798227459]