Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 109.4 kB / 16.92 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001024, allocations: 191.3 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 39.28 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08665/0.08769, allocations: 49.45 MB / 350.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003707/0.09143, allocations: 2.476 MB / 352.6 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006053/0.09207, allocations: 255 kB / 352.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.09227, allocations: 4 kB / 352.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.09246, allocations: 47.56 kB / 352.9 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.09267, allocations: 87.14 kB / 353 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.09288, allocations: 67.91 kB / 353.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.09326, allocations: 318.5 kB / 353.4 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.09349, allocations: 99.11 kB / 353.5 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.09363, allocations: 107.7 kB / 353.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.09381, allocations: 139.4 kB / 353.7 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.09386, allocations: 24 kB / 353.8 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.907e-05/0.09391, allocations: 24 kB / 353.8 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.642e-05/0.09396, allocations: 51.84 kB / 353.8 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.0941, allocations: 151.3 kB / 354 MB, free: 484 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.09438, allocations: 323.1 kB / 354.3 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.09439, allocations: 0 / 354.3 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0944, allocations: 0 / 354.3 MB, free: 160 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.09441, allocations: 0 / 354.3 MB, free: 160 kB / 286.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.0007793/0.0952, allocations: 0.5615 MB / 354.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.09525, allocations: 12.03 kB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/0.09532, allocations: 62.72 kB / 354.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.09538, allocations: 28.66 kB / 355 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.09563, allocations: 252.2 kB / 355.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.09565, allocations: 16.94 kB / 355.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.0957, allocations: 28.38 kB / 355.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.09607, allocations: 251.2 kB / 355.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.0961, allocations: 15.77 kB / 355.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.09613, allocations: 15.94 kB / 355.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.09615, allocations: 7.984 kB / 355.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.09644, allocations: 179.9 kB / 355.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009808/0.09742, allocations: 0.7419 MB / 356.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.09782, allocations: 280 kB / 356.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.09799, allocations: 133.7 kB / 356.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.09802, allocations: 4.625 kB / 356.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.09805, allocations: 30.56 kB / 356.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 3.015e-06/0.09806, allocations: 4 kB / 356.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002443/0.1005, allocations: 1.716 MB / 358.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.1006, allocations: 81.11 kB / 358.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1007, allocations: 186.2 kB / 358.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1007, allocations: 33.64 kB / 358.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.1008, allocations: 140.7 kB / 359 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.1009, allocations: 177.4 kB / 359.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/0.101, allocations: 78.27 kB / 359.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1012, allocations: 342.8 kB / 359.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.1013, allocations: 97.09 kB / 359.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.1015, allocations: 157.5 kB / 359.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.1019, allocations: 288 kB / 360.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1019, allocations: 0 / 360.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004811/0.1024, allocations: 373.8 kB / 360.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1024, allocations: 4 kB / 360.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1024, allocations: 0 / 360.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1024, allocations: 4 kB / 360.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.1028, allocations: 99.83 kB / 360.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1028, allocations: 4 kB / 360.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1029, allocations: 12 kB / 360.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.103, allocations: 16.06 kB / 360.7 MB, free: 9.336 MB / 302.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.0001233/0.1031, allocations: 150.3 kB / 360.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-05/0.1032, allocations: 27.66 kB / 360.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.915e-05/0.1033, allocations: 41.86 kB / 360.9 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1033, allocations: 8 kB / 360.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1033, allocations: 0 / 360.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1033, allocations: 0 / 360.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.1044, allocations: 0.9588 MB / 361.8 MB, free: 8.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1045, allocations: 4 kB / 361.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.1049, allocations: 99.95 kB / 361.9 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1049, allocations: 4 kB / 361.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.1049, allocations: 8 kB / 362 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1049, allocations: 11.94 kB / 362 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1049, allocations: 0 / 362 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.1056, allocations: 0.6471 MB / 362.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.1057, allocations: 104.8 kB / 362.7 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.1057, allocations: 12 kB / 362.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.1059, allocations: 8 kB / 362.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.106, allocations: 27.91 kB / 362.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.106, allocations: 12 kB / 362.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.1061, allocations: 140.3 kB / 362.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1061, allocations: 0 / 362.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003545/0.1065, allocations: 76 kB / 363 MB, free: 6.898 MB / 302.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.0009355/0.1074, allocations: 1.195 MB / 364.2 MB, free: 5.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005017/0.1079, allocations: 318.6 kB / 364.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1079, allocations: 0 / 364.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.1081, allocations: 159.8 kB / 364.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.1087, allocations: 62.23 kB / 364.7 MB, free: 5.145 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.1122, allocations: 3.287 MB / 368 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.1125, allocations: 0.7764 MB / 368.8 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.1126, allocations: 38.89 kB / 368.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1128, allocations: 95.41 kB / 368.9 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1128, allocations: 0 / 368.9 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1687/0.2815, allocations: 5.988 MB / 374.9 MB, free: 25.17 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.911, allocations: 1.594 kB / 374.9 MB, free: 25.17 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches