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.001597/0.001607, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.002057/0.002057, allocations: 189.2 kB / 19.33 MB, free: 3.781 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.511/1.511, 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.001336/0.001336, allocations: 51.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.09036, allocations: 46.62 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003384/0.09378, allocations: 2.093 MB / 377.9 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004879/0.09431, allocations: 159.4 kB / 378 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.09446, allocations: 4 kB / 378.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.09465, allocations: 35.66 kB / 378.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.09478, allocations: 43.56 kB / 378.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.09501, allocations: 43.94 kB / 378.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.09527, allocations: 183.2 kB / 378.3 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.09545, allocations: 70 kB / 378.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.09555, allocations: 63.78 kB / 378.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.09569, allocations: 75.62 kB / 378.6 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.09573, allocations: 16 kB / 378.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.105e-05/0.09577, allocations: 16 kB / 378.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.371e-05/0.09581, allocations: 31.91 kB / 378.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.0959, allocations: 83.55 kB / 378.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.09613, allocations: 179.2 kB / 378.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.09614, allocations: 0 / 378.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09615, allocations: 0 / 378.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.09616, allocations: 0 / 378.9 MB, free: 1.492 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.0006781/0.09684, allocations: 474.9 kB / 379.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.0969, allocations: 11.89 kB / 379.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.257e-05/0.09697, allocations: 20.75 kB / 379.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.09727, allocations: 219.9 kB / 379.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.09729, allocations: 12.38 kB / 379.6 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.09734, allocations: 16.38 kB / 379.6 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.09765, allocations: 190.2 kB / 379.8 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.09767, allocations: 3.938 kB / 379.8 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.0977, allocations: 8 kB / 379.8 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.09771, allocations: 4 kB / 379.8 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.09792, allocations: 103.8 kB / 379.9 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1933/0.2912, allocations: 0.943 MB / 380.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.2914, allocations: 102.6 kB / 381 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.2914, allocations: 42.69 kB / 381 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2915, allocations: 2.203 kB / 381 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.2915, allocations: 44.47 kB / 381 MB, free: 12.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.755e-06/0.2915, allocations: 0 / 381 MB, free: 12.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003294/0.2918, allocations: 127.9 kB / 381.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.2919, allocations: 112 kB / 381.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.2921, allocations: 210.1 kB / 381.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.2921, allocations: 25.7 kB / 381.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.2921, allocations: 144.9 kB / 381.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.2922, allocations: 46.67 kB / 381.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.2923, allocations: 45.59 kB / 381.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.2923, allocations: 330.8 kB / 382.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.265e-05/0.2924, allocations: 38.98 kB / 382.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.2925, allocations: 141 kB / 382.2 MB, free: 11.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.2927, allocations: 202.4 kB / 382.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2927, allocations: 1.375 kB / 382.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002764/0.293, allocations: 221.4 kB / 382.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.293, allocations: 10.81 kB / 382.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.293, allocations: 4.688 kB / 382.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.293, allocations: 5.5 kB / 382.7 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.2932, allocations: 46.8 kB / 382.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.2932, allocations: 6.719 kB / 382.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.2933, allocations: 29.88 kB / 382.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.2934, allocations: 9.625 kB / 382.8 MB, free: 11.19 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.743e-05/0.2935, allocations: 140.8 kB / 382.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.2935, allocations: 23.47 kB / 382.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.2936, allocations: 21.8 kB / 382.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2936, allocations: 2.031 kB / 383 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2936, allocations: 0.75 kB / 383 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2936, allocations: 2.422 kB / 383 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.294, allocations: 240.3 kB / 383.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.294, allocations: 0 / 383.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.2942, allocations: 31.92 kB / 383.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2942, allocations: 5.312 kB / 383.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.2942, allocations: 5.516 kB / 383.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2942, allocations: 6.078 kB / 383.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2942, allocations: 2.781 kB / 383.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.2945, allocations: 379 kB / 383.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.2945, allocations: 103.3 kB / 383.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.2946, allocations: 4.406 kB / 383.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.2947, allocations: 8.469 kB / 383.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.2948, allocations: 10.86 kB / 383.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2948, allocations: 4.188 kB / 383.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.2949, allocations: 147.5 kB / 383.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2949, allocations: 0.5625 kB / 383.9 MB, free: 10.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003878/0.2953, allocations: 34.75 kB / 383.9 MB, free: 10.36 MB / 318.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.362e-05/0.2954, allocations: 99.31 kB / 384 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.2957, allocations: 115.1 kB / 384.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2957, allocations: 0.5938 kB / 384.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.2958, allocations: 36.84 kB / 384.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.2963, allocations: 39.42 kB / 384.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009722/0.2973, allocations: 0.6545 MB / 384.9 MB, free: 9.777 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.2975, allocations: 0.729 MB / 385.6 MB, free: 9.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.2976, allocations: 18.28 kB / 385.6 MB, free: 9.062 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2976, allocations: 0.5 kB / 385.6 MB, free: 9.062 MB / 318.1 MB Notification: Performance of Templates: time 0.004372/0.302, allocations: 1.993 MB / 387.6 MB, free: 8.898 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