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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001662/0.001662, allocations: 116.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 204 kB / 19.41 MB, free: 3.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.45/1.45, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB 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.001894/0.001894, allocations: 63.89 kB / 359.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2419, allocations: 50.55 MB / 410.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004787/0.2467, allocations: 2.118 MB / 412.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000507/0.2472, allocations: 159.4 kB / 412.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.2473, allocations: 7.938 kB / 412.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.2475, allocations: 27.72 kB / 412.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.2476, allocations: 51.5 kB / 412.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.2478, allocations: 35.95 kB / 412.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.2481, allocations: 179.2 kB / 412.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.2483, allocations: 54.27 kB / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.2484, allocations: 63.8 kB / 412.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.2486, allocations: 75.61 kB / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.2486, allocations: 16 kB / 413 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.803e-05/0.2487, allocations: 15.94 kB / 413 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.2487, allocations: 31.86 kB / 413 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2489, allocations: 83.59 kB / 413.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.2492, allocations: 183 kB / 413.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2492, allocations: 0 / 413.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2492, allocations: 0 / 413.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2492, allocations: 4 kB / 413.3 MB, free: 14.33 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.0008825/0.2501, allocations: 462.7 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2501, allocations: 8.031 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.2502, allocations: 24.8 kB / 413.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.2506, allocations: 212.1 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.2506, allocations: 20.16 kB / 414 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.2507, allocations: 24.33 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.251, allocations: 182.4 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.2511, allocations: 7.875 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.2511, allocations: 7.984 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.2511, allocations: 8 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.2514, allocations: 99.88 kB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.2532, allocations: 0.9509 MB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.2534, allocations: 99.83 kB / 415.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.344e-05/0.2535, allocations: 42.66 kB / 415.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.2535, allocations: 4 kB / 415.4 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.2536, allocations: 42.5 kB / 415.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.694e-06/0.2536, allocations: 0 / 415.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000436/0.254, allocations: 133.4 kB / 415.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.2541, allocations: 102.8 kB / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.2544, allocations: 207.7 kB / 415.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.2544, allocations: 25.7 kB / 415.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.2545, allocations: 148.1 kB / 416.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.2546, allocations: 51.56 kB / 416.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/0.2547, allocations: 49.89 kB / 416.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.2549, allocations: 334.8 kB / 416.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.255, allocations: 36.45 kB / 416.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.2552, allocations: 146.6 kB / 416.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.2556, allocations: 198.1 kB / 416.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2556, allocations: 4 kB / 416.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005002/0.2561, allocations: 217.2 kB / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.2561, allocations: 8 kB / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2561, allocations: 0 / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.2561, allocations: 8.406 kB / 417.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.2564, allocations: 51.92 kB / 417.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.2564, allocations: 8 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.2566, allocations: 35.67 kB / 417.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.2566, allocations: 8 kB / 417.2 MB, free: 10.01 MB / 334.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.0001602/0.2568, allocations: 133.8 kB / 417.3 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.2569, allocations: 19.91 kB / 417.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.2569, allocations: 16.94 kB / 417.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2569, allocations: 0 / 417.3 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.257, allocations: 8 kB / 417.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.257, allocations: 11.86 kB / 417.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000671/0.2576, allocations: 245.5 kB / 417.6 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2576, allocations: 0 / 417.6 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.2579, allocations: 27.98 kB / 417.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2579, allocations: 0 / 417.6 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2579, allocations: 7.984 kB / 417.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2579, allocations: 0 / 417.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2579, allocations: 0 / 417.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004813/0.2584, allocations: 389.8 kB / 418 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.229e-05/0.2585, allocations: 97.06 kB / 418.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.2585, allocations: 0 / 418.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.2588, allocations: 8 kB / 418.1 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.2588, allocations: 11.92 kB / 418.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.2588, allocations: 0 / 418.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.259, allocations: 153.5 kB / 418.3 MB, free: 8.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.259, allocations: 4 kB / 418.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003822/0.2593, allocations: 51.83 kB / 418.3 MB, free: 8.746 MB / 334.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.0001371/0.2595, allocations: 103.1 kB / 418.4 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.2597, allocations: 103.8 kB / 418.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2597, allocations: 0.8125 kB / 418.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.165e-05/0.2597, allocations: 32.34 kB / 418.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.2603, allocations: 43.47 kB / 418.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.2616, allocations: 0.6284 MB / 419.2 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.2622, allocations: 0.7164 MB / 420 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.559e-05/0.2623, allocations: 21.94 kB / 420 MB, free: 7.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.2623, allocations: 19.44 kB / 420 MB, free: 7.02 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2623, allocations: 0 / 420 MB, free: 7.02 MB / 334.1 MB Notification: Performance of Templates: time 0.006178/0.2685, allocations: 1.378 MB / 421.4 MB, free: 5.648 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches