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.001225/0.001226, allocations: 112.5 kB / 17.7 MB, free: 5.426 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.001164/0.001164, allocations: 183 kB / 18.62 MB, free: 4.5 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.304/1.304, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009772/0.0009772, allocations: 50.31 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.08779, allocations: 49.45 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002983/0.09081, allocations: 2.084 MB / 353.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000321/0.09114, allocations: 171.3 kB / 353.8 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.347e-05/0.09124, allocations: 4 kB / 353.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.09136, allocations: 31.72 kB / 353.8 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.09145, allocations: 43.58 kB / 353.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.0916, allocations: 43.89 kB / 353.9 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.09181, allocations: 183.2 kB / 354.1 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.09197, allocations: 58.28 kB / 354.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.09204, allocations: 67.72 kB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.09215, allocations: 67.69 kB / 354.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.09218, allocations: 16 kB / 354.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.426e-05/0.09221, allocations: 12 kB / 354.3 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/0.09225, allocations: 31.86 kB / 354.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.266e-05/0.09234, allocations: 91.53 kB / 354.4 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.09253, allocations: 183.3 kB / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09254, allocations: 0 / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09254, allocations: 0 / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.09256, allocations: 0 / 354.6 MB, free: 0.582 MB / 286.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.0005464/0.09311, allocations: 466.8 kB / 355 MB, free: 80 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.09315, allocations: 8.031 kB / 355 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.09319, allocations: 28.59 kB / 355.1 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.09344, allocations: 216.1 kB / 355.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.09346, allocations: 8.375 kB / 355.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.09351, allocations: 20.38 kB / 355.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.09377, allocations: 194 kB / 355.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.09379, allocations: 7.844 kB / 355.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.09382, allocations: 12 kB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.09383, allocations: 4 kB / 355.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.094, allocations: 99.88 kB / 355.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.09511, allocations: 0.9584 MB / 356.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.09524, allocations: 95.75 kB / 356.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.09531, allocations: 38.75 kB / 356.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.09533, allocations: 4 kB / 356.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.09535, allocations: 42.56 kB / 356.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.09536, allocations: 0 / 356.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002617/0.09562, allocations: 121.9 kB / 356.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.09569, allocations: 110.8 kB / 357 MB, free: 13.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.09587, allocations: 203.8 kB / 357.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.09589, allocations: 29.7 kB / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.09598, allocations: 143.8 kB / 357.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.09603, allocations: 55.25 kB / 357.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.09609, allocations: 45.94 kB / 357.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.0963, allocations: 330.8 kB / 357.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.09637, allocations: 36.45 kB / 357.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.09655, allocations: 147.8 kB / 357.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.09678, allocations: 201.6 kB / 358.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.09679, allocations: 0 / 358.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002859/0.09708, allocations: 213.5 kB / 358.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.0971, allocations: 8.062 kB / 358.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.09712, allocations: 4 kB / 358.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.09714, allocations: 8 kB / 358.4 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.09729, allocations: 43.92 kB / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.09731, allocations: 15.92 kB / 358.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.09743, allocations: 31.62 kB / 358.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.09745, allocations: 12 kB / 358.5 MB, free: 12.27 MB / 302.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.509e-05/0.09755, allocations: 133.7 kB / 358.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.09763, allocations: 23.75 kB / 358.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.09768, allocations: 28.92 kB / 358.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.09768, allocations: 0 / 358.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.09769, allocations: 0 / 358.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.0977, allocations: 7.938 kB / 358.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.09811, allocations: 233.5 kB / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.09812, allocations: 4 kB / 358.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.09827, allocations: 27.98 kB / 358.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.09828, allocations: 0 / 358.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.0983, allocations: 4 kB / 358.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.09831, allocations: 7.938 kB / 358.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.09832, allocations: 4 kB / 358.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.09859, allocations: 373.9 kB / 359.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.09866, allocations: 100.8 kB / 359.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.0987, allocations: 4.203 kB / 359.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.09885, allocations: 3.938 kB / 359.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.09888, allocations: 23.84 kB / 359.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.0989, allocations: 4 kB / 359.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.09901, allocations: 153.5 kB / 359.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09902, allocations: 0 / 359.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003626/0.09938, allocations: 43.91 kB / 359.6 MB, free: 11.01 MB / 302.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 9.028e-05/0.09948, allocations: 95.38 kB / 359.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001858/0.09967, allocations: 116.3 kB / 359.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.09968, allocations: 0 / 359.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.395e-05/0.09974, allocations: 35.92 kB / 359.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.1002, allocations: 27.98 kB / 359.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.1012, allocations: 0.6337 MB / 360.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1015, allocations: 0.7203 MB / 361.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.02e-05/0.1015, allocations: 25.94 kB / 361.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.1016, allocations: 15.44 kB / 361.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1016, allocations: 0 / 361.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of Templates: time 0.003538/0.1051, allocations: 1.338 MB / 362.6 MB, free: 7.953 MB / 302.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 -s cvode -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