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.001573/0.001573, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001897, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 55.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2372, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003072/0.2403, allocations: 2.117 MB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003868/0.2407, allocations: 167.3 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.2408, allocations: 4 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.241, allocations: 27.72 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.717e-05/0.2411, allocations: 43.58 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.2412, allocations: 39.94 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.2415, allocations: 183.2 kB / 412.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.2416, allocations: 62.28 kB / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.2417, allocations: 71.72 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.2418, allocations: 71.62 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.2419, allocations: 12 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.563e-05/0.2419, allocations: 20 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.242, allocations: 35.84 kB / 412.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.242, allocations: 79.61 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.2423, allocations: 184.4 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2423, allocations: 0 / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2423, allocations: 0 / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.2423, allocations: 0 / 413 MB, free: 14.52 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.0005734/0.2429, allocations: 458.9 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2429, allocations: 12.03 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.243, allocations: 20.66 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.2432, allocations: 220 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2432, allocations: 16.16 kB / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.2433, allocations: 20.38 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.2435, allocations: 178.5 kB / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2436, allocations: 7.938 kB / 413.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2436, allocations: 4 kB / 413.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2436, allocations: 7.938 kB / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.2438, allocations: 107.8 kB / 414 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.245, allocations: 0.9545 MB / 415 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.2451, allocations: 99.83 kB / 415.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.2452, allocations: 46.58 kB / 415.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2452, allocations: 3.938 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.2453, allocations: 46.58 kB / 415.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.2453, allocations: 0 / 415.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002942/0.2456, allocations: 121.4 kB / 415.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2456, allocations: 102.8 kB / 415.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2458, allocations: 215.7 kB / 415.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2458, allocations: 29.7 kB / 415.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.2459, allocations: 131.9 kB / 415.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.246, allocations: 55.28 kB / 415.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.2461, allocations: 41.86 kB / 415.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2462, allocations: 338.8 kB / 416.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.2463, allocations: 40.39 kB / 416.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.2464, allocations: 138.6 kB / 416.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.2466, allocations: 198.1 kB / 416.6 MB, free: 10.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2466, allocations: 3.938 kB / 416.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003056/0.2469, allocations: 221.1 kB / 416.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.2469, allocations: 8 kB / 416.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.247, allocations: 4 kB / 416.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.247, allocations: 4 kB / 416.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.2471, allocations: 51.91 kB / 416.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.986e-06/0.2472, allocations: 4 kB / 416.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.2473, allocations: 27.69 kB / 416.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.2473, allocations: 16.34 kB / 416.9 MB, free: 10.21 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 9.741e-05/0.2474, allocations: 137.7 kB / 417 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.2475, allocations: 15.81 kB / 417.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.2475, allocations: 24.92 kB / 417.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2475, allocations: 0 / 417.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2475, allocations: 4 kB / 417.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.2476, allocations: 96.84 kB / 417.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.2476, allocations: 3.938 kB / 417.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.2478, allocations: 8 kB / 417.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.2478, allocations: 15.98 kB / 417.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003553/0.2482, allocations: 351.3 kB / 417.6 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003347/0.2485, allocations: 481 kB / 418 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.46e-05/0.2486, allocations: 28.33 kB / 418.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2487, allocations: 153.5 kB / 418.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of Backend: time 3.11e-07/0.2487, allocations: 0 / 418.2 MB, free: 8.855 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005871/0.2493, allocations: 176.9 kB / 418.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of SimCode: time 0.001121/0.2505, allocations: 1.067 MB / 419.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of Templates: time 0.004084/0.2546, allocations: 1.657 MB / 421.1 MB, free: 5.91 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