Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001488/0.001488, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.033e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.006436/0.006467, allocations: 2.337 MB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.007448, allocations: 247.1 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.007629, allocations: 7.938 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.007861, allocations: 43.58 kB / 274.8 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.008204, allocations: 103.1 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.008524, allocations: 67.83 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006303/0.009154, allocations: 326.3 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.009437, allocations: 75.58 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.009838, allocations: 183.6 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.01012, allocations: 99.69 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.257e-05/0.0102, allocations: 24 kB / 275.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.01029, allocations: 24 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.01039, allocations: 59.8 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.01059, allocations: 95.77 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.01125, allocations: 326.9 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.01126, allocations: 0 / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.01126, allocations: 0 / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.01126, allocations: 0 / 276.2 MB, free: 13.8 MB / 266.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.00138/0.01264, allocations: 0.4937 MB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.01269, allocations: 11.98 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.01287, allocations: 52.75 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.01341, allocations: 185.3 kB / 276.9 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.01345, allocations: 21.03 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.75e-05/0.01355, allocations: 28.33 kB / 277 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008012/0.01435, allocations: 264.3 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.01438, allocations: 4.125 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.01442, allocations: 12.38 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.01444, allocations: 4.375 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006086/0.01505, allocations: 175.8 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.01692, allocations: 0.6133 MB / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008329/0.01775, allocations: 264.9 kB / 278.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.01815, allocations: 114.3 kB / 278.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.01818, allocations: 4 kB / 278.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.96e-05/0.01825, allocations: 42.47 kB / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.495e-06/0.01825, allocations: 0 / 278.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.00521/0.02346, allocations: 1.444 MB / 279.9 MB, free: 9.848 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.02358, allocations: 81.11 kB / 280 MB, free: 9.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.02391, allocations: 163.6 kB / 280.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.02399, allocations: 33.7 kB / 280.2 MB, free: 9.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.02417, allocations: 140.8 kB / 280.3 MB, free: 9.398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.02446, allocations: 186.4 kB / 280.5 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.02466, allocations: 74.2 kB / 280.6 MB, free: 9.137 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003053/0.02496, allocations: 338.8 kB / 280.9 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.02532, allocations: 105 kB / 281 MB, free: 8.695 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.02577, allocations: 156.8 kB / 281.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/0.0266, allocations: 282.1 kB / 281.4 MB, free: 8.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.0266, allocations: 0 / 281.4 MB, free: 8.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001149/0.02775, allocations: 386 kB / 281.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.02778, allocations: 7.984 kB / 281.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.02781, allocations: 4 kB / 281.8 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.289e-05/0.02784, allocations: 3.938 kB / 281.8 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/0.02862, allocations: 99.97 kB / 281.9 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.02863, allocations: 7.984 kB / 281.9 MB, free: 7.738 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.02888, allocations: 12 kB / 281.9 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.02892, allocations: 16 kB / 281.9 MB, free: 7.711 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002794/0.0292, allocations: 149.7 kB / 282.1 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.02938, allocations: 43.86 kB / 282.1 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.02952, allocations: 33.97 kB / 282.2 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.02954, allocations: 7.938 kB / 282.2 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.02956, allocations: 3.984 kB / 282.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.02956, allocations: 4 kB / 282.2 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.03217, allocations: 0.8353 MB / 283 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.03218, allocations: 0 / 283 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008972/0.03307, allocations: 95.89 kB / 283.1 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.03309, allocations: 7.938 kB / 283.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.03314, allocations: 12 kB / 283.1 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.03314, allocations: 0 / 283.1 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.03316, allocations: 8 kB / 283.1 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.0348, allocations: 0.649 MB / 283.8 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.03488, allocations: 31.81 kB / 283.8 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/0.03495, allocations: 8 kB / 283.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.0353, allocations: 8 kB / 283.8 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.0354, allocations: 39.81 kB / 283.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.03544, allocations: 12 kB / 283.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002334/0.03567, allocations: 127.5 kB / 284 MB, free: 5.562 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03567, allocations: 0 / 284 MB, free: 5.562 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007429/0.03642, allocations: 76 kB / 284.1 MB, free: 5.488 MB / 266.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 (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.0002731/0.03669, allocations: 111.2 kB / 284.2 MB, free: 5.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009905/0.03768, allocations: 287.6 kB / 284.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.03768, allocations: 0 / 284.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.03814, allocations: 147.8 kB / 284.6 MB, free: 4.949 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.03921, allocations: 56.11 kB / 284.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.04184, allocations: 0.8434 MB / 285.5 MB, free: 4.016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.04215, allocations: 172.8 kB / 285.7 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002544/0.0424, allocations: 30.97 kB / 285.7 MB, free: 3.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.04255, allocations: 28.5 kB / 285.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.04255, allocations: 0 / 285.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of Templates: time 0.01432/0.05687, allocations: 3.025 MB / 288.8 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.42497059807647]