Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 112.6 kB / 17.06 MB, free: 5.973 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.001276/0.001277, allocations: 200 kB / 18 MB, free: 5.055 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.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 55.91 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2868, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003593/0.2905, allocations: 2.479 MB / 403.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000533/0.291, allocations: 259 kB / 403.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.2912, allocations: 8 kB / 403.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.2913, allocations: 47.56 kB / 403.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.2915, allocations: 91.14 kB / 403.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.2917, allocations: 63.91 kB / 403.6 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.292, allocations: 318.5 kB / 404 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.2922, allocations: 107.1 kB / 404.1 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.2924, allocations: 119.6 kB / 404.2 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.2925, allocations: 131.4 kB / 404.3 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.2926, allocations: 24 kB / 404.3 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.888e-05/0.2926, allocations: 28 kB / 404.4 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.2927, allocations: 51.84 kB / 404.4 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.2928, allocations: 151.3 kB / 404.6 MB, free: 5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.2931, allocations: 323.9 kB / 404.9 MB, free: 4.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2931, allocations: 0 / 404.9 MB, free: 4.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2932, allocations: 0 / 404.9 MB, free: 4.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.2932, allocations: 0 / 404.9 MB, free: 4.688 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008279/0.294, allocations: 0.5653 MB / 405.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.294, allocations: 8.031 kB / 405.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.2941, allocations: 32.56 kB / 405.5 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.2944, allocations: 251.8 kB / 405.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2944, allocations: 16.94 kB / 405.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.2945, allocations: 32.28 kB / 405.8 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.2949, allocations: 259.1 kB / 406 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.2949, allocations: 192 / 406 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.2949, allocations: 15.94 kB / 406 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.295, allocations: 4 kB / 406 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.2953, allocations: 179.8 kB / 406.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000983/0.2962, allocations: 0.742 MB / 407 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.2966, allocations: 279.8 kB / 407.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.2968, allocations: 129.7 kB / 407.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2969, allocations: 8 kB / 407.4 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.2969, allocations: 34.56 kB / 407.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.412e-06/0.2969, allocations: 0 / 407.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002567/0.2995, allocations: 1.713 MB / 409.1 MB, free: 84 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.2995, allocations: 81.11 kB / 409.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.2997, allocations: 178.3 kB / 409.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.2997, allocations: 33.7 kB / 409.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.2998, allocations: 144.7 kB / 409.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3, allocations: 173.4 kB / 409.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.3001, allocations: 78.27 kB / 409.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3002, allocations: 334.8 kB / 410.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.3003, allocations: 105.1 kB / 410.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.3006, allocations: 153.5 kB / 410.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.301, allocations: 290.7 kB / 410.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.301, allocations: 0 / 410.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004934/0.3015, allocations: 373.8 kB / 411 MB, free: 14.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.3015, allocations: 11.28 kB / 411 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3015, allocations: 0 / 411 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3016, allocations: 4 kB / 411 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.3019, allocations: 95.91 kB / 411.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.302, allocations: 12.05 kB / 411.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3021, allocations: 8 kB / 411.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.3021, allocations: 19.94 kB / 411.2 MB, free: 13.95 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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 0.00024/0.3023, allocations: 158.1 kB / 411.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.3024, allocations: 35.56 kB / 411.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.383e-05/0.3025, allocations: 37.88 kB / 411.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3025, allocations: 7.984 kB / 411.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3025, allocations: 4 kB / 411.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3026, allocations: 4 kB / 411.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.3039, allocations: 0.9442 MB / 412.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3039, allocations: 0 / 412.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.3043, allocations: 99.83 kB / 412.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3043, allocations: 4 kB / 412.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3043, allocations: 20 kB / 412.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3043, allocations: 0 / 412.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3044, allocations: 4 kB / 412.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/0.3051, allocations: 0.6355 MB / 413.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.3052, allocations: 100.8 kB / 413.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.3052, allocations: 16 kB / 413.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.3054, allocations: 11.98 kB / 413.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.3054, allocations: 27.91 kB / 413.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.3055, allocations: 12 kB / 413.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.849e-05/0.3056, allocations: 144.2 kB / 413.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3056, allocations: 0 / 413.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.3059, allocations: 76 kB / 413.5 MB, free: 11.51 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.0001133/0.3061, allocations: 118.6 kB / 413.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004646/0.3065, allocations: 290.7 kB / 413.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3065, allocations: 4 kB / 413.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.3067, allocations: 154.2 kB / 414 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.3073, allocations: 71.17 kB / 414.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.3088, allocations: 0.9974 MB / 415.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3091, allocations: 0.7802 MB / 415.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.3093, allocations: 30.97 kB / 415.9 MB, free: 9.004 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.3094, allocations: 31.44 kB / 416 MB, free: 8.973 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3094, allocations: 0 / 416 MB, free: 8.973 MB / 334.1 MB Notification: Performance of Templates: time 0.006483/0.3159, allocations: 3.11 MB / 419.1 MB, free: 5.887 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches