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.001397/0.001397, allocations: 108.7 kB / 17.93 MB, free: 5.547 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.001644/0.001644, allocations: 197.8 kB / 18.86 MB, free: 4.625 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.408/1.408, allocations: 205.1 MB / 224.7 MB, free: 12.44 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.00117/0.00117, allocations: 55.91 kB / 280.8 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09403, allocations: 46.63 MB / 327.4 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003269/0.09734, allocations: 2.142 MB / 329.6 MB, free: 2.621 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003427/0.09772, allocations: 163.3 kB / 329.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.507e-05/0.09783, allocations: 4 kB / 329.7 MB, free: 2.457 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.09798, allocations: 15.86 kB / 329.8 MB, free: 2.441 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.31e-05/0.09807, allocations: 47.62 kB / 329.8 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.09825, allocations: 39.95 kB / 329.8 MB, free: 2.355 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.09847, allocations: 175.2 kB / 330 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.09865, allocations: 58.28 kB / 330.1 MB, free: 2.125 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.09874, allocations: 63.78 kB / 330.1 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.09885, allocations: 71.64 kB / 330.2 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.852e-05/0.0989, allocations: 12 kB / 330.2 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-05/0.09894, allocations: 16 kB / 330.2 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.09899, allocations: 35.84 kB / 330.3 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.09908, allocations: 87.48 kB / 330.4 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.09926, allocations: 139.9 kB / 330.5 MB, free: 1.707 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.09927, allocations: 0 / 330.5 MB, free: 1.707 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.09928, allocations: 4 kB / 330.5 MB, free: 1.703 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.09929, allocations: 4 kB / 330.5 MB, free: 1.699 MB / 270.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.0006152/0.09991, allocations: 462.7 kB / 330.9 MB, free: 1.199 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.09996, allocations: 11.89 kB / 331 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.1, allocations: 20.75 kB / 331 MB, free: 1.168 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1002, allocations: 216 kB / 331.2 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1003, allocations: 16.36 kB / 331.2 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.1003, allocations: 20.38 kB / 331.2 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.1006, allocations: 190.2 kB / 331.4 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1006, allocations: 3.938 kB / 331.4 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.1006, allocations: 8 kB / 331.4 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1006, allocations: 4 kB / 331.4 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1008, allocations: 99.88 kB / 331.5 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.1021, allocations: 0.9584 MB / 332.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1022, allocations: 99.83 kB / 332.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.1023, allocations: 34.58 kB / 332.6 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.1023, allocations: 4 kB / 332.6 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.1023, allocations: 42.64 kB / 332.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.1023, allocations: 0 / 332.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003/0.1026, allocations: 133.8 kB / 332.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.1027, allocations: 102.8 kB / 332.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.1029, allocations: 199.8 kB / 333.1 MB, free: 14.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1029, allocations: 33.69 kB / 333.1 MB, free: 14.79 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/0.103, allocations: 139.9 kB / 333.3 MB, free: 14.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.1031, allocations: 55.28 kB / 333.3 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.1031, allocations: 49.84 kB / 333.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1033, allocations: 334.8 kB / 333.7 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.962e-05/0.1033, allocations: 36.45 kB / 333.7 MB, free: 14.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.1035, allocations: 146.6 kB / 333.9 MB, free: 13.97 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.1037, allocations: 201.6 kB / 334.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1037, allocations: 0 / 334.1 MB, free: 13.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002857/0.104, allocations: 217.5 kB / 334.3 MB, free: 13.51 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.104, allocations: 12.03 kB / 334.3 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1041, allocations: 0 / 334.3 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.1041, allocations: 8 kB / 334.3 MB, free: 13.49 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1042, allocations: 47.91 kB / 334.3 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1043, allocations: 8 kB / 334.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.1044, allocations: 31.62 kB / 334.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1044, allocations: 8 kB / 334.4 MB, free: 13.39 MB / 286.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.669e-05/0.1045, allocations: 137.7 kB / 334.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.1046, allocations: 19.81 kB / 334.5 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/0.1046, allocations: 28.92 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1046, allocations: 0 / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1046, allocations: 4 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1046, allocations: 3.938 kB / 334.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.105, allocations: 237.5 kB / 334.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.105, allocations: 0 / 334.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.1052, allocations: 31.92 kB / 334.8 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1052, allocations: 0 / 334.8 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1052, allocations: 8 kB / 334.8 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1052, allocations: 4 kB / 334.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1052, allocations: 0 / 334.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.1056, allocations: 393.7 kB / 335.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.1056, allocations: 92.86 kB / 335.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1057, allocations: 64 / 335.3 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.1058, allocations: 8 kB / 335.3 MB, free: 12.35 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.1058, allocations: 12.06 kB / 335.3 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1058, allocations: 4 kB / 335.3 MB, free: 12.33 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.106, allocations: 153.5 kB / 335.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.106, allocations: 0 / 335.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.1063, allocations: 36 kB / 335.5 MB, free: 12.15 MB / 286.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 0.0001041/0.1064, allocations: 100.2 kB / 335.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1066, allocations: 112.9 kB / 335.7 MB, free: 11.93 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1066, allocations: 8 kB / 335.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.672e-05/0.1067, allocations: 35.98 kB / 335.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.1073, allocations: 27.92 kB / 335.8 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.1083, allocations: 0.7014 MB / 336.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1086, allocations: 0.728 MB / 337.2 MB, free: 10.37 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.1087, allocations: 23.38 kB / 337.3 MB, free: 10.35 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1087, allocations: 0 / 337.3 MB, free: 10.35 MB / 286.1 MB Notification: Performance of Templates: time 0.003636/0.1123, allocations: 1.986 MB / 339.3 MB, free: 8.363 MB / 286.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","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches