Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 118.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001895/0.001895, allocations: 202.7 kB / 19.41 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2155, allocations: 50.55 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002995/0.2185, allocations: 2.114 MB / 412 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003779/0.2189, allocations: 155.4 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.219, allocations: 0 / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2192, allocations: 31.72 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.2193, allocations: 55.55 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.2194, allocations: 39.89 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.2197, allocations: 179.2 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.2198, allocations: 70.23 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.2199, allocations: 59.8 kB / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.22, allocations: 79.62 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.2201, allocations: 12 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.953e-05/0.2201, allocations: 16 kB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.2201, allocations: 35.84 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.656e-05/0.2202, allocations: 79.61 kB / 412.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.2204, allocations: 184.4 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2204, allocations: 0 / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2204, allocations: 4 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2205, allocations: 0 / 413 MB, free: 14.45 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.0005494/0.221, allocations: 454.9 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.221, allocations: 8.031 kB / 413.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.2211, allocations: 28.59 kB / 413.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.2213, allocations: 223.4 kB / 413.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2214, allocations: 20.16 kB / 413.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.2214, allocations: 12.38 kB / 413.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.2217, allocations: 182.4 kB / 413.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.2217, allocations: 3.938 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.2218, allocations: 12 kB / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2218, allocations: 4 kB / 413.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.222, allocations: 103.9 kB / 414 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.2232, allocations: 0.9545 MB / 415 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.2233, allocations: 103.8 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.2234, allocations: 46.66 kB / 415.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.2234, allocations: 7.922 kB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.2234, allocations: 34.56 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.2234, allocations: 0 / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000296/0.2237, allocations: 129.4 kB / 415.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.2238, allocations: 106.8 kB / 415.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.224, allocations: 207.7 kB / 415.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.224, allocations: 29.7 kB / 415.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.611e-05/0.2241, allocations: 139.9 kB / 415.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.2241, allocations: 47.3 kB / 415.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.867e-05/0.2242, allocations: 53.84 kB / 415.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2243, allocations: 326.8 kB / 416.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.2244, allocations: 40.45 kB / 416.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.2245, allocations: 142.6 kB / 416.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.2247, allocations: 201.5 kB / 416.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.2247, allocations: 0 / 416.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003057/0.2251, allocations: 209.1 kB / 416.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2251, allocations: 8 kB / 416.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2251, allocations: 8.391 kB / 416.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2251, allocations: 8.703 kB / 416.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.2253, allocations: 51.92 kB / 416.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2253, allocations: 11.92 kB / 416.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.2254, allocations: 27.69 kB / 416.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.2254, allocations: 11.94 kB / 416.9 MB, free: 10.14 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.0001002/0.2255, allocations: 133.8 kB / 417 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.2256, allocations: 19.8 kB / 417.1 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.2257, allocations: 16.94 kB / 417.1 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2257, allocations: 0 / 417.1 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2257, allocations: 4 kB / 417.1 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.2258, allocations: 108.8 kB / 417.2 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.2258, allocations: 3.938 kB / 417.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.226, allocations: 11.94 kB / 417.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.226, allocations: 11.98 kB / 417.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003621/0.2264, allocations: 359.3 kB / 417.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003367/0.2267, allocations: 473 kB / 418 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.319e-05/0.2268, allocations: 28.03 kB / 418.1 MB, free: 8.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.2269, allocations: 149.5 kB / 418.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of Backend: time 4.5e-07/0.2269, allocations: 0 / 418.2 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005879/0.2275, allocations: 174.1 kB / 418.4 MB, free: 8.613 MB / 334.1 MB Notification: Performance of SimCode: time 0.001142/0.2287, allocations: 1.071 MB / 419.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of Templates: time 0.004164/0.2328, allocations: 1.663 MB / 421.1 MB, free: 5.844 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches