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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 63.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09844, allocations: 53.32 MB / 426.6 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003901/0.1023, allocations: 2.514 MB / 429.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005435/0.1029, allocations: 259 kB / 429.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.103, allocations: 8 kB / 429.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.1032, allocations: 43.58 kB / 429.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.1033, allocations: 95.12 kB / 429.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.1035, allocations: 59.92 kB / 429.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.1039, allocations: 322.5 kB / 429.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.104, allocations: 67.12 kB / 430 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1042, allocations: 131.5 kB / 430.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1044, allocations: 127.4 kB / 430.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.1044, allocations: 24 kB / 430.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.57e-05/0.1045, allocations: 24 kB / 430.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.1045, allocations: 59.81 kB / 430.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.1047, allocations: 147.3 kB / 430.5 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.105, allocations: 322.6 kB / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.105, allocations: 0 / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.105, allocations: 0 / 430.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1051, allocations: 0 / 430.8 MB, free: 0.8008 MB / 350.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.0008555/0.1059, allocations: 0.5767 MB / 431.4 MB, free: 176 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1059, allocations: 12.03 kB / 431.4 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.337e-05/0.106, allocations: 58.73 kB / 431.5 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.1061, allocations: 36.75 kB / 431.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1064, allocations: 251.9 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.1065, allocations: 16.94 kB / 431.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.1065, allocations: 28.38 kB / 431.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.1069, allocations: 255.1 kB / 432 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.712e-05/0.107, allocations: 3.938 kB / 432 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.107, allocations: 12 kB / 432 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.107, allocations: 4 kB / 432.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.1073, allocations: 183.8 kB / 432.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1084, allocations: 0.7424 MB / 433 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.1088, allocations: 268.8 kB / 433.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.109, allocations: 121.6 kB / 433.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.109, allocations: 4 kB / 433.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.109, allocations: 34.56 kB / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 1.413e-06/0.109, allocations: 0 / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.002662/0.1117, allocations: 1.721 MB / 435.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.1117, allocations: 81.11 kB / 435.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.1119, allocations: 178.3 kB / 435.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.1119, allocations: 37.7 kB / 435.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1121, allocations: 136.8 kB / 435.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.1122, allocations: 186.4 kB / 435.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1123, allocations: 70.27 kB / 435.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1125, allocations: 338.8 kB / 436.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.1126, allocations: 109.1 kB / 436.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.1129, allocations: 165.3 kB / 436.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.1133, allocations: 278.2 kB / 436.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1133, allocations: 3.938 kB / 436.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005238/0.1138, allocations: 374 kB / 437 MB, free: 10.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1138, allocations: 4 kB / 437 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1138, allocations: 4 kB / 437 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1138, allocations: 0 / 437 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/0.1142, allocations: 99.91 kB / 437.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1142, allocations: 7.922 kB / 437.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.1143, allocations: 12 kB / 437.2 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1143, allocations: 16 kB / 437.2 MB, free: 9.984 MB / 366.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.0001534/0.1145, allocations: 149.8 kB / 437.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.1146, allocations: 35.75 kB / 437.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.408e-05/0.1146, allocations: 37.86 kB / 437.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1146, allocations: 4 kB / 437.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1147, allocations: 0 / 437.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1147, allocations: 4 kB / 437.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.116, allocations: 0.948 MB / 438.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.116, allocations: 4 kB / 438.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.1164, allocations: 99.83 kB / 438.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.1164, allocations: 7.938 kB / 438.5 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.1164, allocations: 4 kB / 438.5 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1164, allocations: 4 kB / 438.5 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1164, allocations: 0 / 438.5 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.1173, allocations: 0.6436 MB / 439.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/0.1173, allocations: 104.9 kB / 439.2 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.1174, allocations: 11.98 kB / 439.2 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.1175, allocations: 15.94 kB / 439.2 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.1176, allocations: 23.97 kB / 439.3 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1176, allocations: 8 kB / 439.3 MB, free: 7.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1177, allocations: 143.1 kB / 439.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1177, allocations: 0 / 439.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000374/0.1181, allocations: 76 kB / 439.5 MB, free: 7.559 MB / 366.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.001122/0.1192, allocations: 1.2 MB / 440.7 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004769/0.1197, allocations: 275.6 kB / 440.9 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1197, allocations: 4 kB / 440.9 MB, free: 6.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.1199, allocations: 151.9 kB / 441.1 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.1205, allocations: 75.92 kB / 441.2 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.1244, allocations: 3.28 MB / 444.5 MB, free: 2.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1248, allocations: 0.7803 MB / 445.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.1249, allocations: 30.97 kB / 445.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.125, allocations: 103.4 kB / 445.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.125, allocations: 0 / 445.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.119/1.244, allocations: 6.138 MB / 451.5 MB, free: 23.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.85/10.09, allocations: 8 kB / 451.5 MB, free: 23.98 MB / 366.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.795292247086763]