Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009548/0.0009549, allocations: 194.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 226.6 MB / 244.3 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007784/0.0007783, allocations: 97.61 kB / 296.4 MB, free: 6.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002013/0.0002013, allocations: 8 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2101, allocations: 51.29 MB / 407.5 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.001922/0.2121, allocations: 2.078 MB / 409.6 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003535/0.2125, allocations: 257.8 kB / 409.8 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.2126, allocations: 8.562 kB / 409.8 MB, free: 25.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.2127, allocations: 32.61 kB / 409.9 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2128, allocations: 77.25 kB / 409.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.213, allocations: 49.08 kB / 410 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.2132, allocations: 294.6 kB / 410.3 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.2133, allocations: 76.16 kB / 410.3 MB, free: 24.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.2134, allocations: 99.59 kB / 410.4 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.2135, allocations: 115.5 kB / 410.6 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.2136, allocations: 16 kB / 410.6 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.629e-05/0.2136, allocations: 12 kB / 410.6 MB, free: 24.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.2136, allocations: 47.84 kB / 410.6 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.2137, allocations: 73.58 kB / 410.7 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.2139, allocations: 224.3 kB / 410.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2139, allocations: 4 kB / 410.9 MB, free: 24.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2139, allocations: 0 / 410.9 MB, free: 24.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2139, allocations: 0 / 410.9 MB, free: 24.37 MB / 298.7 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.0006109/0.2145, allocations: 0.5262 MB / 411.5 MB, free: 23.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2145, allocations: 8.031 kB / 411.5 MB, free: 23.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.2146, allocations: 31.62 kB / 411.5 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.2148, allocations: 250.5 kB / 411.7 MB, free: 23.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.2149, allocations: 16.56 kB / 411.8 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.2149, allocations: 36 kB / 411.8 MB, free: 23.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.2153, allocations: 254.5 kB / 412 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2153, allocations: 3.984 kB / 412 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2153, allocations: 12 kB / 412.1 MB, free: 23.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2153, allocations: 11.94 kB / 412.1 MB, free: 23.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.2156, allocations: 179.8 kB / 412.2 MB, free: 22.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.2164, allocations: 0.7498 MB / 413 MB, free: 22.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.2167, allocations: 272.6 kB / 413.3 MB, free: 21.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.2169, allocations: 125.7 kB / 413.4 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.2169, allocations: 4 kB / 413.4 MB, free: 21.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.2169, allocations: 38.56 kB / 413.4 MB, free: 21.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 2.335e-06/0.2169, allocations: 3.984 kB / 413.4 MB, free: 21.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.001974/0.2189, allocations: 1.719 MB / 415.1 MB, free: 19.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.2189, allocations: 85.11 kB / 415.2 MB, free: 19.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.2191, allocations: 179.2 kB / 415.4 MB, free: 19.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.2191, allocations: 37.7 kB / 415.4 MB, free: 19.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.2192, allocations: 140.7 kB / 415.6 MB, free: 19.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.2192, allocations: 177.4 kB / 415.7 MB, free: 19.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.2192, allocations: 8 kB / 415.8 MB, free: 19.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.2193, allocations: 338.8 kB / 416.1 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.2194, allocations: 101.1 kB / 416.2 MB, free: 18.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.2196, allocations: 153.5 kB / 416.3 MB, free: 18.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.2198, allocations: 134.3 kB / 416.5 MB, free: 18.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2198, allocations: 0 / 416.5 MB, free: 18.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000391/0.2202, allocations: 362.6 kB / 416.8 MB, free: 18.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2202, allocations: 8 kB / 416.8 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2202, allocations: 0 / 416.8 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2202, allocations: 4 kB / 416.8 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.2206, allocations: 103.8 kB / 416.9 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2206, allocations: 4 kB / 416.9 MB, free: 17.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.2207, allocations: 16.06 kB / 417 MB, free: 17.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.2207, allocations: 12 kB / 417 MB, free: 17.9 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/0.2208, allocations: 149.8 kB / 417.1 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.2209, allocations: 31.58 kB / 417.1 MB, free: 17.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.2209, allocations: 37.86 kB / 417.2 MB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2209, allocations: 8 kB / 417.2 MB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2209, allocations: 0 / 417.2 MB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.221, allocations: 3.984 kB / 417.2 MB, free: 17.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008793/0.2218, allocations: 0.9515 MB / 418.1 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2219, allocations: 8.062 kB / 418.1 MB, free: 16.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/0.2222, allocations: 95.83 kB / 418.2 MB, free: 16.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.2222, allocations: 7.938 kB / 418.3 MB, free: 16.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.2223, allocations: 12 kB / 418.3 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2223, allocations: 3.953 kB / 418.3 MB, free: 16.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2223, allocations: 4 kB / 418.3 MB, free: 16.53 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.2228, allocations: 0.6403 MB / 418.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.2229, allocations: 96.83 kB / 419 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.2229, allocations: 8 kB / 419 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.223, allocations: 12 kB / 419 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.2231, allocations: 23.92 kB / 419 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2231, allocations: 19.98 kB / 419.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.336e-05/0.2232, allocations: 132.3 kB / 419.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2232, allocations: 4 kB / 419.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.2235, allocations: 76 kB / 419.3 MB, free: 15.48 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.797e-05/0.2236, allocations: 115.1 kB / 419.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.2239, allocations: 290.6 kB / 419.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2239, allocations: 4 kB / 419.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2241, allocations: 155.7 kB / 419.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.2246, allocations: 63.47 kB / 419.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.2258, allocations: 1.247 MB / 421.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.226, allocations: 0.7728 MB / 421.9 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.2261, allocations: 31.44 kB / 421.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2261, allocations: 3.938 kB / 421.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of Templates: time 0.004111/0.2302, allocations: 3.639 MB / 425.6 MB, free: 9.098 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches