Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008993/0.0008991, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007181/0.0007182, allocations: 94.34 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002839, allocations: 12 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1903, allocations: 47.58 MB / 375.2 MB, free: 45.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.001782/0.1921, allocations: 2.055 MB / 377.2 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003878/0.1925, allocations: 254.5 kB / 377.5 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1926, allocations: 5.312 kB / 377.5 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.1927, allocations: 31.64 kB / 377.5 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.1929, allocations: 77.38 kB / 377.6 MB, free: 43.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.193, allocations: 46.61 kB / 377.6 MB, free: 43.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.1933, allocations: 307 kB / 377.9 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.1934, allocations: 77.41 kB / 378 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.1935, allocations: 101.7 kB / 378.1 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1937, allocations: 116.1 kB / 378.2 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.1937, allocations: 14.03 kB / 378.3 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.1938, allocations: 13.22 kB / 378.3 MB, free: 42.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.1938, allocations: 39.16 kB / 378.3 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1939, allocations: 157.6 kB / 378.5 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1941, allocations: 229.7 kB / 378.7 MB, free: 42.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1941, allocations: 0 / 378.7 MB, free: 42.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1941, allocations: 1 kB / 378.7 MB, free: 42.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1941, allocations: 0 / 378.7 MB, free: 42.68 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.0006259/0.1947, allocations: 0.5192 MB / 379.2 MB, free: 42.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1948, allocations: 10.16 kB / 379.2 MB, free: 42.19 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.4e-05/0.1949, allocations: 66.66 kB / 379.3 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.1949, allocations: 36.34 kB / 379.3 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1951, allocations: 251.5 kB / 379.6 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1952, allocations: 19.66 kB / 379.6 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.1952, allocations: 33.38 kB / 379.6 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.1956, allocations: 253.2 kB / 379.9 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.1956, allocations: 8.906 kB / 379.9 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.1957, allocations: 11.22 kB / 379.9 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.1957, allocations: 5.812 kB / 379.9 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.196, allocations: 180.4 kB / 380.1 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008162/0.1968, allocations: 0.754 MB / 380.8 MB, free: 40.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.1971, allocations: 273.4 kB / 381.1 MB, free: 40.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1973, allocations: 122 kB / 381.2 MB, free: 40.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1973, allocations: 4.281 kB / 381.2 MB, free: 40.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.1973, allocations: 36.81 kB / 381.2 MB, free: 40.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/0.1973, allocations: 0 / 381.2 MB, free: 40.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=48): time 0.00219/0.1995, allocations: 1.706 MB / 382.9 MB, free: 39.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.1996, allocations: 81.61 kB / 383 MB, free: 39.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1997, allocations: 189.8 kB / 383.2 MB, free: 39.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1997, allocations: 34.89 kB / 383.2 MB, free: 39.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.1998, allocations: 143.1 kB / 383.4 MB, free: 38.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.1999, allocations: 173.1 kB / 383.6 MB, free: 38.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.1999, allocations: 18.09 kB / 383.6 MB, free: 38.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.34e-05/0.2, allocations: 341.7 kB / 383.9 MB, free: 38.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.2001, allocations: 101.4 kB / 384 MB, free: 38.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.2003, allocations: 156.4 kB / 384.2 MB, free: 38.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.2006, allocations: 273.8 kB / 384.4 MB, free: 38.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2006, allocations: 0 / 384.4 MB, free: 38.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004523/0.2011, allocations: 365.3 kB / 384.8 MB, free: 37.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2011, allocations: 5 kB / 384.8 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2011, allocations: 1.094 kB / 384.8 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2012, allocations: 3.094 kB / 384.8 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.2015, allocations: 105.3 kB / 384.9 MB, free: 37.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.2016, allocations: 3.344 kB / 384.9 MB, free: 37.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2017, allocations: 10.25 kB / 384.9 MB, free: 37.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.2017, allocations: 15 kB / 384.9 MB, free: 37.86 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.0001119/0.2018, allocations: 151.8 kB / 385.1 MB, free: 37.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.2019, allocations: 34.09 kB / 385.1 MB, free: 37.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.202, allocations: 42.08 kB / 385.1 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.202, allocations: 4.469 kB / 385.1 MB, free: 37.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.202, allocations: 5.125 kB / 385.1 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.202, allocations: 1.125 kB / 385.2 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.2031, allocations: 0.9577 MB / 386.1 MB, free: 36.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2031, allocations: 0.8125 kB / 386.1 MB, free: 36.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.2035, allocations: 96.73 kB / 386.2 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2035, allocations: 3.562 kB / 386.2 MB, free: 36.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.2035, allocations: 14.5 kB / 386.2 MB, free: 36.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2035, allocations: 3 kB / 386.2 MB, free: 36.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2035, allocations: 1.5 kB / 386.2 MB, free: 36.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.2042, allocations: 0.6387 MB / 386.9 MB, free: 36.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.2042, allocations: 100.7 kB / 387 MB, free: 36.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.2042, allocations: 15.98 kB / 387 MB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.2045, allocations: 12 kB / 387 MB, free: 36.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.2046, allocations: 35.81 kB / 387 MB, free: 36.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.2046, allocations: 16 kB / 387 MB, free: 36.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.756e-05/0.2047, allocations: 128.3 kB / 387.2 MB, free: 36.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2047, allocations: 7.938 kB / 387.2 MB, free: 36.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000332/0.205, allocations: 80 kB / 387.3 MB, free: 35.95 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.0006991/0.2057, allocations: 1.184 MB / 388.4 MB, free: 34.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.2061, allocations: 287.1 kB / 388.7 MB, free: 34.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2061, allocations: 4.125 kB / 388.7 MB, free: 34.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000146/0.2062, allocations: 159.6 kB / 388.9 MB, free: 34.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.2068, allocations: 63.89 kB / 388.9 MB, free: 34.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.209, allocations: 2.194 MB / 391.1 MB, free: 31.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.2092, allocations: 0.7728 MB / 391.9 MB, free: 31.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.2093, allocations: 103.4 kB / 392 MB, free: 31.06 MB / 298.7 MB Notification: Performance of SimCode: time 4.2e-07/0.2093, allocations: 0 / 392 MB, free: 31.06 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.636/2.845, allocations: 4.326 MB / 396.3 MB, free: 26.73 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches