Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00154/0.00154, allocations: 120 kB / 18.45 MB, free: 4.605 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.001535/0.001535, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 207.6 MB / 231.8 MB, free: 4.07 MB / 174.1 MB " [Timeout remaining time 178] 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 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_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 51.91 kB / 342.2 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09659, allocations: 49.12 MB / 391.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.0039/0.1005, allocations: 2.482 MB / 393.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006511/0.1011, allocations: 247.1 kB / 394.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1013, allocations: 7.938 kB / 394.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.1014, allocations: 43.58 kB / 394.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1016, allocations: 91.2 kB / 394.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1018, allocations: 67.84 kB / 394.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.1022, allocations: 326.3 kB / 394.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.1024, allocations: 79.09 kB / 394.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1025, allocations: 111.6 kB / 394.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.1027, allocations: 143.3 kB / 394.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.1028, allocations: 24 kB / 395 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.645e-05/0.1028, allocations: 28 kB / 395 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.1029, allocations: 59.77 kB / 395 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.103, allocations: 135.3 kB / 395.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.1034, allocations: 318.7 kB / 395.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1034, allocations: 4 kB / 395.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1034, allocations: 0 / 395.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1034, allocations: 0 / 395.5 MB, free: 4.602 MB / 318.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.0009197/0.1043, allocations: 0.5728 MB / 396.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1044, allocations: 12.03 kB / 396.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.021e-05/0.1044, allocations: 58.73 kB / 396.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.1045, allocations: 36.69 kB / 396.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.1049, allocations: 243.9 kB / 396.4 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.1049, allocations: 20.94 kB / 396.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.105, allocations: 28.36 kB / 396.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.1054, allocations: 255.1 kB / 396.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.1054, allocations: 11.89 kB / 396.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.1055, allocations: 8 kB / 396.7 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.1055, allocations: 8 kB / 396.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.1058, allocations: 179.9 kB / 396.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.1069, allocations: 0.7422 MB / 397.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.1073, allocations: 268.9 kB / 397.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.1075, allocations: 117.7 kB / 398 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1076, allocations: 8 kB / 398 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.1076, allocations: 38.5 kB / 398.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.713e-06/0.1076, allocations: 0 / 398.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.003102/0.1107, allocations: 1.717 MB / 399.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.1108, allocations: 85.11 kB / 399.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.111, allocations: 182.2 kB / 400.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.111, allocations: 33.7 kB / 400.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.1111, allocations: 148.8 kB / 400.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.1113, allocations: 182.4 kB / 400.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1114, allocations: 74.27 kB / 400.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1116, allocations: 342.8 kB / 400.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.1117, allocations: 97.09 kB / 400.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.112, allocations: 165.4 kB / 401.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.1124, allocations: 287 kB / 401.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1124, allocations: 0 / 401.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005366/0.1129, allocations: 370 kB / 401.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1129, allocations: 4 kB / 401.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1129, allocations: 0 / 401.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.113, allocations: 4 kB / 401.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.1134, allocations: 107.9 kB / 401.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1134, allocations: 4 kB / 401.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.1135, allocations: 12 kB / 401.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.1135, allocations: 12 kB / 401.9 MB, free: 13.77 MB / 334.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.000162/0.1137, allocations: 157.7 kB / 402 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.1137, allocations: 39.69 kB / 402 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.876e-05/0.1138, allocations: 41.86 kB / 402.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1139, allocations: 4 kB / 402.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.1139, allocations: 4 kB / 402.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1139, allocations: 0 / 402.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.1153, allocations: 0.9443 MB / 403 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1153, allocations: 0 / 403 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.1157, allocations: 103.9 kB / 403.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.1157, allocations: 4 kB / 403.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.1157, allocations: 16 kB / 403.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.1157, allocations: 4 kB / 403.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1157, allocations: 0 / 403.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008091/0.1165, allocations: 0.6397 MB / 403.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/0.1166, allocations: 108.8 kB / 403.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.1167, allocations: 16 kB / 403.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1168, allocations: 4 kB / 403.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.1169, allocations: 27.97 kB / 404 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.1169, allocations: 12 kB / 404 MB, free: 11.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.117, allocations: 132.3 kB / 404.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.117, allocations: 0 / 404.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000382/0.1174, allocations: 84 kB / 404.2 MB, free: 11.33 MB / 334.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.001115/0.1185, allocations: 1.189 MB / 405.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004956/0.119, allocations: 278.6 kB / 405.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.119, allocations: 4.125 kB / 405.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.1192, allocations: 143.8 kB / 405.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.1198, allocations: 63.84 kB / 405.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.1237, allocations: 3.286 MB / 409.1 MB, free: 6.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1241, allocations: 0.7726 MB / 409.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.1243, allocations: 38.95 kB / 409.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.1244, allocations: 99.41 kB / 410 MB, free: 5.293 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1244, allocations: 0 / 410 MB, free: 5.293 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.083/0.2074, allocations: 6.155 MB / 416.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.458, allocations: 8 kB / 416.2 MB, free: 15.07 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.001217973884195]