Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 108.8 kB / 21.93 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 55.92 kB / 348.4 MB, free: 9.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2926, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003174/0.2958, allocations: 2.29 MB / 399.9 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004843/0.2962, allocations: 253 kB / 400.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.2964, allocations: 4 kB / 400.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.2965, allocations: 49.22 kB / 400.2 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.2967, allocations: 95.72 kB / 400.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.297, allocations: 62.27 kB / 400.3 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003322/0.2973, allocations: 323.1 kB / 400.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.2975, allocations: 75.7 kB / 400.7 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.2976, allocations: 120 kB / 400.8 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.2978, allocations: 112.2 kB / 400.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.2979, allocations: 24.06 kB / 401 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.226e-05/0.2979, allocations: 26.09 kB / 401 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.298, allocations: 60.67 kB / 401.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.2981, allocations: 126.6 kB / 401.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004353/0.2985, allocations: 321.6 kB / 401.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2985, allocations: 0.75 kB / 401.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2985, allocations: 0 / 401.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.2986, allocations: 0 / 401.5 MB, free: 6.996 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.0007939/0.2994, allocations: 0.4939 MB / 402 MB, free: 6.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2994, allocations: 13.02 kB / 402 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.359e-05/0.2995, allocations: 33.78 kB / 402 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.2997, allocations: 189.2 kB / 402.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2998, allocations: 19.62 kB / 402.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/0.2998, allocations: 31.2 kB / 402.3 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.3002, allocations: 255.5 kB / 402.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.3003, allocations: 6.016 kB / 402.5 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.3003, allocations: 14.12 kB / 402.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3003, allocations: 10.88 kB / 402.5 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.3006, allocations: 174.4 kB / 402.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009023/0.3015, allocations: 0.607 MB / 403.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.3019, allocations: 253.8 kB / 403.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.3021, allocations: 123.5 kB / 403.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3021, allocations: 4.531 kB / 403.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.3021, allocations: 42.8 kB / 403.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.773e-06/0.3021, allocations: 0 / 403.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002334/0.3045, allocations: 1.407 MB / 405.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.3045, allocations: 86.86 kB / 405.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.3046, allocations: 171.9 kB / 405.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.3047, allocations: 34.67 kB / 405.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.3048, allocations: 151.6 kB / 405.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.3049, allocations: 181 kB / 405.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.841e-05/0.305, allocations: 74.09 kB / 405.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.305, allocations: 338.9 kB / 406.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.3052, allocations: 106.8 kB / 406.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.3054, allocations: 154.7 kB / 406.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.3058, allocations: 290.1 kB / 406.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3058, allocations: 1.375 kB / 406.7 MB, free: 3.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004918/0.3063, allocations: 367.1 kB / 407.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3063, allocations: 9.719 kB / 407.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3063, allocations: 5.594 kB / 407.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3063, allocations: 2.594 kB / 407.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.3067, allocations: 104.7 kB / 407.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3067, allocations: 3.25 kB / 407.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.3068, allocations: 10.81 kB / 407.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.3069, allocations: 10.47 kB / 407.2 MB, free: 3.234 MB / 318.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.0001189/0.307, allocations: 157.4 kB / 407.4 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.307, allocations: 33.56 kB / 407.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.3071, allocations: 36.12 kB / 407.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3071, allocations: 5.938 kB / 407.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.3071, allocations: 0 / 407.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.3071, allocations: 3.922 kB / 407.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3083, allocations: 0.8223 MB / 408.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3083, allocations: 5.312 kB / 408.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.3087, allocations: 100.2 kB / 408.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3087, allocations: 2.75 kB / 408.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.3087, allocations: 11.5 kB / 408.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.3087, allocations: 3.453 kB / 408.4 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3087, allocations: 5.312 kB / 408.4 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/0.3094, allocations: 0.6442 MB / 409 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.3095, allocations: 20.52 kB / 409 MB, free: 2.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.3095, allocations: 12.3 kB / 409.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.3097, allocations: 11.16 kB / 409.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.3097, allocations: 32.55 kB / 409.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3097, allocations: 14.03 kB / 409.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.532e-05/0.3098, allocations: 120.3 kB / 409.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3098, allocations: 1.188 kB / 409.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003783/0.3102, allocations: 76.41 kB / 409.3 MB, free: 1.926 MB / 318.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.000102/0.3103, allocations: 107.7 kB / 409.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.3107, allocations: 278.2 kB / 409.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3108, allocations: 0 / 409.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.311, allocations: 151.1 kB / 409.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.3115, allocations: 70.91 kB / 409.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.313, allocations: 1.031 MB / 410.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/0.3132, allocations: 173.3 kB / 411.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.3133, allocations: 29.38 kB / 411.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3133, allocations: 3.938 kB / 411.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of Templates: time 0.007087/0.3204, allocations: 3.827 MB / 415 MB, free: 15.23 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.555332552175969]