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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 51.91 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.09901, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003728/0.1027, allocations: 2.495 MB / 420.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005663/0.1033, allocations: 255 kB / 420.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1034, allocations: 4 kB / 420.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.1036, allocations: 43.56 kB / 420.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1037, allocations: 99.12 kB / 420.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.1039, allocations: 59.91 kB / 420.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.1043, allocations: 322.5 kB / 421 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.1044, allocations: 75.09 kB / 421.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.1046, allocations: 123.6 kB / 421.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.1048, allocations: 131.4 kB / 421.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.1048, allocations: 28 kB / 421.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.327e-05/0.1049, allocations: 24 kB / 421.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.1049, allocations: 55.78 kB / 421.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.1051, allocations: 143.3 kB / 421.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.1054, allocations: 318.6 kB / 421.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.1054, allocations: 0 / 421.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1054, allocations: 7.938 kB / 421.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1054, allocations: 0 / 421.9 MB, free: 8.457 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.0008423/0.1063, allocations: 0.5689 MB / 422.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1063, allocations: 8.031 kB / 422.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.045e-05/0.1064, allocations: 66.72 kB / 422.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.1064, allocations: 40.75 kB / 422.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.1068, allocations: 255.9 kB / 422.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.1068, allocations: 20.94 kB / 422.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.1069, allocations: 28.33 kB / 422.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.1073, allocations: 251.1 kB / 423.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1073, allocations: 7.938 kB / 423.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.1073, allocations: 8 kB / 423.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1073, allocations: 12 kB / 423.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.1076, allocations: 175.8 kB / 423.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.1087, allocations: 0.7461 MB / 424.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.1092, allocations: 260.5 kB / 424.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.1093, allocations: 110.3 kB / 424.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.1094, allocations: 7.906 kB / 424.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.1094, allocations: 38.56 kB / 424.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/0.1094, allocations: 0 / 424.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.00269/0.1121, allocations: 1.714 MB / 426.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.1122, allocations: 81.11 kB / 426.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1123, allocations: 186.2 kB / 426.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.1124, allocations: 37.64 kB / 426.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.1125, allocations: 144.8 kB / 426.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.1126, allocations: 182.4 kB / 426.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.1128, allocations: 78.2 kB / 426.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1129, allocations: 342.8 kB / 427.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.1132, allocations: 101.1 kB / 427.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.1134, allocations: 157.4 kB / 427.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.1138, allocations: 282.8 kB / 427.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1138, allocations: 4 kB / 427.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005267/0.1143, allocations: 377.9 kB / 428.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1143, allocations: 4 kB / 428.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1143, allocations: 0 / 428.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1144, allocations: 4 kB / 428.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.1147, allocations: 103.8 kB / 428.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.1147, allocations: 7.938 kB / 428.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1149, allocations: 16 kB / 428.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.1149, allocations: 12 kB / 428.3 MB, free: 1.637 MB / 350.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.0001527/0.115, allocations: 154.4 kB / 428.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.1151, allocations: 31.78 kB / 428.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.276e-05/0.1152, allocations: 33.88 kB / 428.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1152, allocations: 8 kB / 428.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1152, allocations: 0 / 428.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1152, allocations: 3.984 kB / 428.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.1166, allocations: 0.9509 MB / 429.5 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1166, allocations: 0 / 429.5 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.117, allocations: 99.83 kB / 429.6 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.117, allocations: 7.938 kB / 429.6 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.117, allocations: 8 kB / 429.6 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.117, allocations: 7.984 kB / 429.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.117, allocations: 0 / 429.6 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.1178, allocations: 0.6436 MB / 430.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.1179, allocations: 104.9 kB / 430.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.118, allocations: 8 kB / 430.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.1181, allocations: 12 kB / 430.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1182, allocations: 23.95 kB / 430.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1182, allocations: 20 kB / 430.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1183, allocations: 132.3 kB / 430.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1183, allocations: 0 / 430.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.1187, allocations: 76 kB / 430.6 MB, free: 15.21 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.001079/0.1197, allocations: 1.203 MB / 431.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004592/0.1202, allocations: 283.6 kB / 432.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1202, allocations: 0 / 432.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.1204, allocations: 147.8 kB / 432.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.121, allocations: 64.52 kB / 432.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.1251, allocations: 3.291 MB / 435.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.1256, allocations: 0.7804 MB / 436.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.1257, allocations: 34.95 kB / 436.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.1259, allocations: 95.41 kB / 436.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.1259, allocations: 0 / 436.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.158, allocations: 6.157 MB / 442.6 MB, free: 3.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.316/8.474, allocations: 0.625 kB / 442.6 MB, free: 3.133 MB / 366.1 MB " [Timeout remaining time 651] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 11.2507885992527]