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.0008107/0.0008107, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.0009535/0.0009536, allocations: 184.5 kB / 17.56 MB, free: 6.203 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.381/1.381, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002816, allocations: 4 kB / 301.5 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1015, allocations: 50.42 MB / 351.9 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002638/0.1042, allocations: 2.158 MB / 354.1 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000625/0.1048, allocations: 255.1 kB / 354.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003211/0.1052, allocations: 7.938 kB / 354.4 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.1053, allocations: 35.7 kB / 354.4 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.1056, allocations: 79.33 kB / 354.5 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.1058, allocations: 51.94 kB / 354.5 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.1062, allocations: 298.6 kB / 354.8 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.1064, allocations: 91.61 kB / 354.9 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.1065, allocations: 99.59 kB / 355 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.1067, allocations: 123.4 kB / 355.1 MB, free: 428 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.1068, allocations: 12 kB / 355.1 MB, free: 416 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.46e-05/0.1068, allocations: 20 kB / 355.2 MB, free: 396 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.1069, allocations: 39.84 kB / 355.2 MB, free: 356 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.1071, allocations: 161 kB / 355.3 MB, free: 188 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.1074, allocations: 295.1 kB / 355.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1074, allocations: 3.938 kB / 355.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1074, allocations: 0 / 355.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1074, allocations: 0 / 355.6 MB, free: 15.89 MB / 302.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.0007649/0.1082, allocations: 0.5263 MB / 356.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1083, allocations: 8.031 kB / 356.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.017e-05/0.1083, allocations: 58.73 kB / 356.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.1084, allocations: 28.66 kB / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1087, allocations: 251.7 kB / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1087, allocations: 16.94 kB / 356.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.79e-05/0.1088, allocations: 36.36 kB / 356.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.1093, allocations: 247.2 kB / 356.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1093, allocations: 7.844 kB / 356.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.1093, allocations: 12 kB / 356.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1093, allocations: 7.938 kB / 356.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.1097, allocations: 179.9 kB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.1108, allocations: 0.7536 MB / 357.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.1113, allocations: 279.2 kB / 358 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.1115, allocations: 125.7 kB / 358.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1115, allocations: 8 kB / 358.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1116, allocations: 34.56 kB / 358.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.693e-06/0.1116, allocations: 0 / 358.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.00278/0.1144, allocations: 1.713 MB / 359.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.1144, allocations: 85.11 kB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1146, allocations: 186.2 kB / 360.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1147, allocations: 33.7 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.961e-05/0.1148, allocations: 140.7 kB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.1149, allocations: 169.5 kB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.115, allocations: 41.7 kB / 360.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1151, allocations: 346.7 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.1153, allocations: 105 kB / 361 MB, free: 10.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.1156, allocations: 161.4 kB / 361.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.116, allocations: 283.1 kB / 361.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.116, allocations: 0 / 361.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000556/0.1166, allocations: 373.8 kB / 361.8 MB, free: 9.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1166, allocations: 4 kB / 361.8 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1166, allocations: 4 kB / 361.8 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1166, allocations: 4.062 kB / 361.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.117, allocations: 111.8 kB / 361.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.117, allocations: 3.984 kB / 361.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.1172, allocations: 15.98 kB / 361.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.1172, allocations: 16 kB / 361.9 MB, free: 9.129 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.0001447/0.1173, allocations: 145.8 kB / 362.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.1174, allocations: 31.66 kB / 362.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.1175, allocations: 37.86 kB / 362.2 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1176, allocations: 4 kB / 362.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1176, allocations: 4 kB / 362.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.1176, allocations: 4 kB / 362.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.119, allocations: 0.9688 MB / 363.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.119, allocations: 0 / 363.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.1194, allocations: 91.89 kB / 363.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.1194, allocations: 4 kB / 363.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.1194, allocations: 12 kB / 363.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1194, allocations: 0 / 363.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1194, allocations: 4 kB / 363.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008192/0.1203, allocations: 0.6433 MB / 363.9 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.1203, allocations: 96.83 kB / 364 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.1204, allocations: 15.98 kB / 364 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.1206, allocations: 12 kB / 364 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.1206, allocations: 23.97 kB / 364 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1206, allocations: 12 kB / 364 MB, free: 6.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1208, allocations: 140.3 kB / 364.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1208, allocations: 0 / 364.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.1211, allocations: 76 kB / 364.3 MB, free: 6.707 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.001126/0.1223, allocations: 1.196 MB / 365.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.1227, allocations: 294.7 kB / 365.7 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1227, allocations: 0 / 365.7 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.123, allocations: 151.8 kB / 365.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.1236, allocations: 72.08 kB / 366 MB, free: 4.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.1276, allocations: 3.523 MB / 369.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.128, allocations: 0.7767 MB / 370.3 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.1281, allocations: 34.95 kB / 370.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.1282, allocations: 99.41 kB / 370.4 MB, free: 404 kB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1282, allocations: 0 / 370.4 MB, free: 404 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1881/0.3164, allocations: 5.664 MB / 376.1 MB, free: 24.11 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.3166, allocations: 213.8 kB / 376.3 MB, free: 23.86 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.248, allocations: 1.062 kB / 376.3 MB, free: 23.86 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