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.001642/0.001642, allocations: 197.8 kB / 17.38 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 226.5 MB / 244.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007746/0.0007746, allocations: 94.58 kB / 296.8 MB, free: 6.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002267/0.0002268, allocations: 7.984 kB / 356.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1965, allocations: 51.29 MB / 408 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.001804/0.1984, allocations: 2.085 MB / 410.1 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004327/0.1989, allocations: 260.1 kB / 410.4 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.199, allocations: 7.938 kB / 410.4 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1991, allocations: 27.77 kB / 410.4 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.1993, allocations: 78.91 kB / 410.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.1994, allocations: 47.95 kB / 410.5 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.1996, allocations: 298.5 kB / 410.8 MB, free: 24.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1998, allocations: 86.86 kB / 410.9 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.911e-05/0.1999, allocations: 95.59 kB / 411 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.2, allocations: 111.5 kB / 411.1 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.2001, allocations: 16 kB / 411.1 MB, free: 24.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.667e-05/0.2001, allocations: 16 kB / 411.1 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.2001, allocations: 47.78 kB / 411.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/0.2002, allocations: 149.1 kB / 411.3 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.2004, allocations: 232.2 kB / 411.6 MB, free: 24.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.2004, allocations: 0 / 411.6 MB, free: 24.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2004, allocations: 4 kB / 411.6 MB, free: 24.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.2004, allocations: 0 / 411.6 MB, free: 24.12 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.0006026/0.201, allocations: 0.5225 MB / 412.1 MB, free: 23.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2011, allocations: 8.031 kB / 412.1 MB, free: 23.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.2011, allocations: 32.56 kB / 412.1 MB, free: 23.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.2013, allocations: 247.8 kB / 412.4 MB, free: 23.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2014, allocations: 24.88 kB / 412.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.2014, allocations: 28.36 kB / 412.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.2018, allocations: 255.1 kB / 412.7 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2018, allocations: 4.188 kB / 412.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.2018, allocations: 11.94 kB / 412.7 MB, free: 22.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2018, allocations: 8 kB / 412.7 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.2021, allocations: 171.9 kB / 412.9 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.2029, allocations: 0.7617 MB / 413.6 MB, free: 21.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.2032, allocations: 269 kB / 413.9 MB, free: 21.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.2034, allocations: 125.7 kB / 414 MB, free: 21.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.2034, allocations: 4 kB / 414 MB, free: 21.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.2034, allocations: 42.5 kB / 414.1 MB, free: 21.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/0.2034, allocations: 4 kB / 414.1 MB, free: 21.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.002083/0.2055, allocations: 1.719 MB / 415.8 MB, free: 19.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.2056, allocations: 85.05 kB / 415.9 MB, free: 19.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.2057, allocations: 179.2 kB / 416 MB, free: 19.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2057, allocations: 37.7 kB / 416.1 MB, free: 19.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.2058, allocations: 136.7 kB / 416.2 MB, free: 19.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.2059, allocations: 177.4 kB / 416.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/0.2059, allocations: 12 kB / 416.4 MB, free: 18.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.2059, allocations: 334.8 kB / 416.7 MB, free: 18.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.2061, allocations: 101.1 kB / 416.8 MB, free: 18.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.2063, allocations: 153.5 kB / 417 MB, free: 18.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.2066, allocations: 282.2 kB / 417.2 MB, free: 18.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2066, allocations: 0 / 417.2 MB, free: 18.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004141/0.207, allocations: 365.8 kB / 417.6 MB, free: 17.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2071, allocations: 8 kB / 417.6 MB, free: 17.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2071, allocations: 0 / 417.6 MB, free: 17.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2071, allocations: 4 kB / 417.6 MB, free: 17.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.2074, allocations: 107.9 kB / 417.7 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2075, allocations: 4 kB / 417.7 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2076, allocations: 8 kB / 417.7 MB, free: 17.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.2076, allocations: 15.94 kB / 417.7 MB, free: 17.5 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 0.0001088/0.2077, allocations: 153.7 kB / 417.9 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.2078, allocations: 31.64 kB / 417.9 MB, free: 17.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.63e-05/0.2079, allocations: 41.86 kB / 418 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2079, allocations: 11.94 kB / 418 MB, free: 17.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2079, allocations: 4 kB / 418 MB, free: 17.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.2079, allocations: 3.984 kB / 418 MB, free: 17.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009869/0.2089, allocations: 0.9476 MB / 418.9 MB, free: 16.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2089, allocations: 3.938 kB / 418.9 MB, free: 16.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.2093, allocations: 95.89 kB / 419 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2093, allocations: 4 kB / 419 MB, free: 16.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.2093, allocations: 12 kB / 419.1 MB, free: 16.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2093, allocations: 0 / 419.1 MB, free: 16.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2093, allocations: 7.984 kB / 419.1 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.2099, allocations: 0.6433 MB / 419.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.21, allocations: 96.83 kB / 419.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.21, allocations: 8 kB / 419.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.2102, allocations: 8 kB / 419.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.2102, allocations: 31.95 kB / 419.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.2103, allocations: 20 kB / 419.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.147e-05/0.2103, allocations: 132.3 kB / 420 MB, free: 15.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2103, allocations: 0 / 420 MB, free: 15.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003293/0.2107, allocations: 76 kB / 420.1 MB, free: 15.07 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 0.0001073/0.2108, allocations: 119.1 kB / 420.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003699/0.2112, allocations: 279.3 kB / 420.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2112, allocations: 4.125 kB / 420.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2113, allocations: 163.6 kB / 420.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.2119, allocations: 66.06 kB / 420.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.2132, allocations: 1.236 MB / 421.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.2134, allocations: 0.7767 MB / 422.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.2135, allocations: 31.44 kB / 422.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2135, allocations: 0 / 422.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of Templates: time 0.004421/0.2179, allocations: 3.654 MB / 426.4 MB, free: 8.691 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