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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 108.7 kB / 17.74 MB, free: 5.336 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.001114/0.001114, allocations: 190.9 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009285/0.0009286, allocations: 39.94 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2095, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002869/0.2124, allocations: 2.102 MB / 403.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003107/0.2127, allocations: 163.4 kB / 403.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.2128, allocations: 4 kB / 403.7 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.2129, allocations: 35.66 kB / 403.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.097e-05/0.213, allocations: 43.56 kB / 403.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.2132, allocations: 43.94 kB / 403.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.2134, allocations: 179.2 kB / 404 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2135, allocations: 62.27 kB / 404 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.2136, allocations: 71.72 kB / 404.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2137, allocations: 67.64 kB / 404.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.2138, allocations: 16 kB / 404.2 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.781e-05/0.2138, allocations: 16 kB / 404.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.2138, allocations: 39.83 kB / 404.2 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.2139, allocations: 79.61 kB / 404.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2141, allocations: 184.4 kB / 404.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2141, allocations: 3.984 kB / 404.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2141, allocations: 0 / 404.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2141, allocations: 0 / 404.5 MB, free: 5.777 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.000555/0.2147, allocations: 466.9 kB / 404.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2147, allocations: 11.89 kB / 405 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.2148, allocations: 20.75 kB / 405 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.215, allocations: 212 kB / 405.2 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.215, allocations: 12.38 kB / 405.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.2151, allocations: 20.38 kB / 405.2 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.2154, allocations: 190.2 kB / 405.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2154, allocations: 3.938 kB / 405.4 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.2154, allocations: 4 kB / 405.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2154, allocations: 8 kB / 405.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.2156, allocations: 103.9 kB / 405.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.2167, allocations: 0.9545 MB / 406.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.2169, allocations: 99.81 kB / 406.6 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.2169, allocations: 50.52 kB / 406.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.217, allocations: 0 / 406.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.217, allocations: 42.64 kB / 406.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.217, allocations: 0 / 406.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002783/0.2173, allocations: 125.3 kB / 406.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.2173, allocations: 106.8 kB / 406.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.2175, allocations: 215.6 kB / 407.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2175, allocations: 29.7 kB / 407.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.2176, allocations: 131.9 kB / 407.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.2176, allocations: 55.28 kB / 407.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.2177, allocations: 41.95 kB / 407.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2178, allocations: 334.8 kB / 407.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.2179, allocations: 36.45 kB / 407.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.218, allocations: 147.3 kB / 407.9 MB, free: 2.051 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.2182, allocations: 193.5 kB / 408 MB, free: 1.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2182, allocations: 4 kB / 408.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003/0.2185, allocations: 217.8 kB / 408.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2186, allocations: 8 kB / 408.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2186, allocations: 4 kB / 408.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2186, allocations: 7.938 kB / 408.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.2188, allocations: 55.84 kB / 408.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2188, allocations: 4 kB / 408.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.2189, allocations: 27.78 kB / 408.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.2189, allocations: 15.94 kB / 408.4 MB, free: 1.469 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 9.307e-05/0.219, allocations: 134.1 kB / 408.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.2191, allocations: 19.8 kB / 408.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.2191, allocations: 24.92 kB / 408.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2192, allocations: 4 kB / 408.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2192, allocations: 0 / 408.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.2192, allocations: 96.84 kB / 408.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.2193, allocations: 7.938 kB / 408.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.2194, allocations: 4 kB / 408.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.2195, allocations: 11.98 kB / 408.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003496/0.2198, allocations: 355.2 kB / 409 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003131/0.2201, allocations: 477 kB / 409.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.118e-05/0.2202, allocations: 28.05 kB / 409.5 MB, free: 276 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.2203, allocations: 157.4 kB / 409.7 MB, free: 120 kB / 318.1 MB Notification: Performance of Backend: time 2.31e-07/0.2203, allocations: 0 / 409.7 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005713/0.2209, allocations: 163 kB / 409.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of SimCode: time 0.001076/0.222, allocations: 1.089 MB / 410.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of Templates: time 0.003958/0.226, allocations: 1.65 MB / 412.6 MB, free: 13.17 MB / 334.1 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/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_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches