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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 98.22 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009878/0.0009879, allocations: 39.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.231, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002735/0.2338, allocations: 2.136 MB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002643/0.234, allocations: 173.8 kB / 401.8 MB, free: 31.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.2342, allocations: 4 kB / 401.8 MB, free: 31.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.2343, allocations: 23.78 kB / 401.8 MB, free: 31.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.2344, allocations: 34.67 kB / 401.8 MB, free: 31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.2345, allocations: 39.97 kB / 401.9 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.2347, allocations: 175.2 kB / 402.1 MB, free: 30.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2348, allocations: 45.06 kB / 402.1 MB, free: 30.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.2349, allocations: 59.8 kB / 402.2 MB, free: 30.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.843e-05/0.2349, allocations: 79.55 kB / 402.2 MB, free: 30.61 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.235, allocations: 12 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.396e-05/0.235, allocations: 12 kB / 402.3 MB, free: 30.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.235, allocations: 27.86 kB / 402.3 MB, free: 30.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.2351, allocations: 75.61 kB / 402.4 MB, free: 30.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.2353, allocations: 176.8 kB / 402.5 MB, free: 30.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2353, allocations: 4 kB / 402.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2353, allocations: 0 / 402.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.2353, allocations: 3.938 kB / 402.5 MB, free: 30.3 MB / 298.7 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.0004858/0.2358, allocations: 455 kB / 403 MB, free: 29.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2358, allocations: 12.03 kB / 403 MB, free: 29.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.2359, allocations: 20.66 kB / 403 MB, free: 29.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.2361, allocations: 212.1 kB / 403.2 MB, free: 29.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.2361, allocations: 12.38 kB / 403.2 MB, free: 29.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.2361, allocations: 20.36 kB / 403.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.2364, allocations: 190.2 kB / 403.4 MB, free: 29.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.2364, allocations: 3.938 kB / 403.4 MB, free: 29.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.2364, allocations: 8 kB / 403.4 MB, free: 29.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2364, allocations: 4 kB / 403.5 MB, free: 29.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.2366, allocations: 102.2 kB / 403.6 MB, free: 29.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009584/0.2375, allocations: 0.9622 MB / 404.5 MB, free: 28.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.2376, allocations: 107.8 kB / 404.6 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.105e-05/0.2377, allocations: 38.58 kB / 404.7 MB, free: 27.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2377, allocations: 0 / 404.7 MB, free: 27.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2377, allocations: 42.58 kB / 404.7 MB, free: 27.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.2378, allocations: 0 / 404.7 MB, free: 27.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.000269/0.238, allocations: 130 kB / 404.8 MB, free: 27.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.2381, allocations: 102.8 kB / 404.9 MB, free: 27.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.2382, allocations: 211.7 kB / 405.1 MB, free: 27.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.2382, allocations: 29.64 kB / 405.2 MB, free: 27.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.2383, allocations: 135.9 kB / 405.3 MB, free: 27.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.2383, allocations: 55.27 kB / 405.3 MB, free: 27.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.2384, allocations: 41.86 kB / 405.4 MB, free: 27.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.2385, allocations: 334.8 kB / 405.7 MB, free: 26.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.2385, allocations: 44.45 kB / 405.8 MB, free: 26.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.49e-05/0.2386, allocations: 140.2 kB / 405.9 MB, free: 26.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.2388, allocations: 201.5 kB / 406.1 MB, free: 26.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2388, allocations: 0 / 406.1 MB, free: 26.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002292/0.239, allocations: 217.1 kB / 406.3 MB, free: 26.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.239, allocations: 8 kB / 406.3 MB, free: 26.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2391, allocations: 7.984 kB / 406.3 MB, free: 26.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.2391, allocations: 4 kB / 406.3 MB, free: 26.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.2392, allocations: 55.91 kB / 406.4 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2393, allocations: 4.406 kB / 406.4 MB, free: 26.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2394, allocations: 35.62 kB / 406.4 MB, free: 26.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.2394, allocations: 8 kB / 406.4 MB, free: 26 MB / 298.7 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.45e-05/0.2395, allocations: 133.8 kB / 406.6 MB, free: 25.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.2395, allocations: 15.81 kB / 406.6 MB, free: 25.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.2396, allocations: 20.92 kB / 406.6 MB, free: 25.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2396, allocations: 4 kB / 406.6 MB, free: 25.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2396, allocations: 3.938 kB / 406.6 MB, free: 25.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.2396, allocations: 3.938 kB / 406.6 MB, free: 25.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.2399, allocations: 245.4 kB / 406.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2399, allocations: 0 / 406.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.2401, allocations: 35.92 kB / 406.9 MB, free: 25.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2401, allocations: 0 / 406.9 MB, free: 25.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2401, allocations: 4 kB / 406.9 MB, free: 25.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2401, allocations: 4 kB / 406.9 MB, free: 25.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2401, allocations: 4 kB / 406.9 MB, free: 25.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007899/0.2409, allocations: 1.433 MB / 408.3 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.241, allocations: 96.92 kB / 408.4 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.241, allocations: 3.984 kB / 408.4 MB, free: 23.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.2411, allocations: 7.938 kB / 408.4 MB, free: 23.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.2412, allocations: 12 kB / 408.4 MB, free: 23.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2412, allocations: 7.984 kB / 408.5 MB, free: 23.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.2413, allocations: 149.5 kB / 408.6 MB, free: 23.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2413, allocations: 0 / 408.6 MB, free: 23.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004197/0.2417, allocations: 52 kB / 408.6 MB, free: 23.56 MB / 298.7 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 9.051e-05/0.2418, allocations: 99.25 kB / 408.7 MB, free: 23.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.242, allocations: 108 kB / 408.8 MB, free: 23.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.242, allocations: 4 kB / 408.9 MB, free: 23.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.242, allocations: 31.92 kB / 408.9 MB, free: 23.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005514/0.2426, allocations: 36.56 kB / 408.9 MB, free: 23.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.2435, allocations: 0.8217 MB / 409.7 MB, free: 22.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.2437, allocations: 0.7206 MB / 410.5 MB, free: 21.66 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.351e-05/0.2438, allocations: 25.94 kB / 410.5 MB, free: 21.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.2438, allocations: 15.44 kB / 410.5 MB, free: 21.62 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2438, allocations: 3.938 kB / 410.5 MB, free: 21.62 MB / 298.7 MB Notification: Performance of Templates: time 0.003199/0.247, allocations: 1.403 MB / 411.9 MB, free: 20.22 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches