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) 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) 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=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_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_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001193, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.88 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2948, allocations: 50.53 MB / 409.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003478/0.2983, allocations: 2.49 MB / 411.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004613/0.2988, allocations: 267 kB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.2989, allocations: 4 kB / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.299, allocations: 43.52 kB / 412 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.2992, allocations: 95.19 kB / 412.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.2994, allocations: 59.92 kB / 412.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.2997, allocations: 326.4 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.2999, allocations: 99.12 kB / 412.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.3001, allocations: 115.6 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.3002, allocations: 131.4 kB / 412.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.3003, allocations: 24 kB / 412.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.464e-05/0.3003, allocations: 24 kB / 412.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.3004, allocations: 59.83 kB / 412.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.3005, allocations: 151.2 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.3008, allocations: 316 kB / 413.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3008, allocations: 4 kB / 413.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3008, allocations: 0 / 413.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3008, allocations: 0 / 413.4 MB, free: 13.42 MB / 334.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.0007707/0.3016, allocations: 0.5576 MB / 414 MB, free: 12.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3017, allocations: 12.03 kB / 414 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.3017, allocations: 32.56 kB / 414 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.302, allocations: 255.7 kB / 414.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3021, allocations: 24.88 kB / 414.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.3021, allocations: 24.38 kB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.3025, allocations: 259.1 kB / 414.5 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.3026, allocations: 16.02 kB / 414.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.3026, allocations: 11.94 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3026, allocations: 8 kB / 414.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.3029, allocations: 175.9 kB / 414.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.304, allocations: 0.7383 MB / 415.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.3044, allocations: 279.3 kB / 415.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3046, allocations: 133.7 kB / 415.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3046, allocations: 4 kB / 415.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.3046, allocations: 38.56 kB / 415.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.3047, allocations: 0 / 415.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002592/0.3072, allocations: 1.72 MB / 417.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3073, allocations: 85.11 kB / 417.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.3075, allocations: 187.1 kB / 417.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3075, allocations: 29.7 kB / 418 MB, free: 8.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.3076, allocations: 140.7 kB / 418.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.3078, allocations: 181.4 kB / 418.3 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.3079, allocations: 74.27 kB / 418.3 MB, free: 8.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.308, allocations: 342.8 kB / 418.7 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.3082, allocations: 101.1 kB / 418.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.3084, allocations: 157.5 kB / 418.9 MB, free: 7.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.3088, allocations: 286.1 kB / 419.2 MB, free: 7.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3088, allocations: 0 / 419.2 MB, free: 7.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004923/0.3093, allocations: 369.8 kB / 419.6 MB, free: 6.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3093, allocations: 4 kB / 419.6 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3093, allocations: 4 kB / 419.6 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3094, allocations: 0 / 419.6 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.3098, allocations: 103.8 kB / 419.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.3098, allocations: 0 / 419.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3099, allocations: 16.06 kB / 419.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.3099, allocations: 16 kB / 419.7 MB, free: 6.668 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.0001519/0.3101, allocations: 145.8 kB / 419.9 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.3102, allocations: 31.66 kB / 419.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.891e-05/0.3103, allocations: 41.86 kB / 419.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3103, allocations: 4 kB / 419.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3103, allocations: 0 / 419.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.3103, allocations: 3.984 kB / 419.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.3115, allocations: 0.9505 MB / 420.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3115, allocations: 7.938 kB / 420.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.312, allocations: 95.89 kB / 421 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.312, allocations: 4 kB / 421 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.312, allocations: 15.94 kB / 421 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.312, allocations: 4 kB / 421 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.312, allocations: 4.062 kB / 421 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.3127, allocations: 0.6356 MB / 421.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.3128, allocations: 104.8 kB / 421.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.3128, allocations: 12 kB / 421.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.313, allocations: 11.94 kB / 421.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.3131, allocations: 27.97 kB / 421.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3131, allocations: 12 kB / 421.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.688e-05/0.3132, allocations: 135.1 kB / 421.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3132, allocations: 0 / 421.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003467/0.3135, allocations: 80 kB / 422 MB, free: 4.242 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.000152/0.3137, allocations: 111.2 kB / 422.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.3141, allocations: 299.6 kB / 422.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3141, allocations: 4 kB / 422.4 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.3143, allocations: 157 kB / 422.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.3149, allocations: 63.89 kB / 422.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3162, allocations: 0.9895 MB / 423.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3166, allocations: 0.7764 MB / 424.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.3167, allocations: 26.97 kB / 424.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.3168, allocations: 27.44 kB / 424.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3168, allocations: 7.938 kB / 424.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of Templates: time 0.006478/0.3233, allocations: 3.115 MB / 427.6 MB, free: 14.62 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches