Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 108.4 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 190.1 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 55.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07286/0.07406, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003009/0.0771, allocations: 2.083 MB / 377.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003893/0.07751, allocations: 163.4 kB / 378.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.07763, allocations: 4 kB / 378.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.07779, allocations: 31.72 kB / 378.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.332e-05/0.07789, allocations: 43.56 kB / 378.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.07805, allocations: 47.89 kB / 378.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.07828, allocations: 187.2 kB / 378.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.07843, allocations: 66 kB / 378.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/0.07852, allocations: 63.78 kB / 378.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.07865, allocations: 75.64 kB / 378.6 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.07869, allocations: 16 kB / 378.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.785e-05/0.07872, allocations: 12 kB / 378.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.07876, allocations: 35.89 kB / 378.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.07884, allocations: 83.55 kB / 378.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.07904, allocations: 175.3 kB / 378.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.07905, allocations: 0 / 378.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.07906, allocations: 0 / 378.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.07907, allocations: 0 / 378.9 MB, free: 1.504 MB / 318.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.0005704/0.07964, allocations: 474.8 kB / 379.3 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.07969, allocations: 15.88 kB / 379.4 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.07974, allocations: 20.75 kB / 379.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.07999, allocations: 220 kB / 379.6 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.08001, allocations: 8.375 kB / 379.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.08005, allocations: 16.38 kB / 379.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.08033, allocations: 190.2 kB / 379.8 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.08035, allocations: 3.938 kB / 379.8 MB, free: 480 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.08038, allocations: 12 kB / 379.8 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.08039, allocations: 4 kB / 379.8 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.08057, allocations: 95.88 kB / 379.9 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1482/0.2287, allocations: 0.9417 MB / 380.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.2289, allocations: 101.8 kB / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.229, allocations: 44.72 kB / 381 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.229, allocations: 6.359 kB / 381 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.229, allocations: 39.23 kB / 381 MB, free: 12.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.575e-06/0.229, allocations: 3.562 kB / 381 MB, free: 12.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002961/0.2293, allocations: 130.6 kB / 381.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.2293, allocations: 108.4 kB / 381.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.2295, allocations: 209.7 kB / 381.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.2295, allocations: 27.08 kB / 381.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.2296, allocations: 140.6 kB / 381.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.2296, allocations: 52.45 kB / 381.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.2297, allocations: 44.72 kB / 381.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.2297, allocations: 327.7 kB / 382.1 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.2298, allocations: 40.28 kB / 382.1 MB, free: 11.56 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.476e-05/0.2299, allocations: 146.3 kB / 382.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.2301, allocations: 198.9 kB / 382.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2301, allocations: 0 / 382.4 MB, free: 11.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002887/0.2304, allocations: 221.4 kB / 382.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2304, allocations: 5.5 kB / 382.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.2304, allocations: 9.094 kB / 382.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.2305, allocations: 9.156 kB / 382.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.2306, allocations: 47.78 kB / 382.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.2307, allocations: 9.703 kB / 382.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.2308, allocations: 29.06 kB / 382.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2308, allocations: 11.81 kB / 382.8 MB, free: 11.21 MB / 318.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 8.325e-05/0.2309, allocations: 136.9 kB / 382.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/0.231, allocations: 17.44 kB / 382.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/0.231, allocations: 32.17 kB / 383 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.231, allocations: 1.375 kB / 383 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.231, allocations: 0.9844 kB / 383 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.2311, allocations: 92.23 kB / 383.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.2311, allocations: 6.484 kB / 383.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2313, allocations: 1.375 kB / 383.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.2313, allocations: 13.09 kB / 383.1 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002976/0.2316, allocations: 355.8 kB / 383.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002646/0.2319, allocations: 469.3 kB / 383.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.565e-05/0.232, allocations: 30.7 kB / 383.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.2321, allocations: 145.5 kB / 384.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of Backend: time 2.71e-07/0.2321, allocations: 0 / 384.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000638/0.2328, allocations: 170.8 kB / 384.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of SimCode: time 0.001156/0.2339, allocations: 1.093 MB / 385.3 MB, free: 9.293 MB / 318.1 MB Notification: Performance of Templates: time 0.004883/0.2388, allocations: 1.707 MB / 387 MB, free: 9.145 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches