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.001232/0.001232, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001394/0.001394, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.381/1.381, allocations: 230.5 MB / 258.2 MB, free: 8.008 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 63.89 kB / 378.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.246, allocations: 53.41 MB / 432 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003427/0.2494, allocations: 2.518 MB / 434.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004713/0.2499, allocations: 255 kB / 434.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.25, allocations: 7.938 kB / 434.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.2501, allocations: 39.58 kB / 434.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.2502, allocations: 95.19 kB / 434.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.2504, allocations: 71.84 kB / 434.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.2507, allocations: 318.5 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.2509, allocations: 67.59 kB / 435.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.251, allocations: 127.6 kB / 435.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.2512, allocations: 131.4 kB / 435.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.2513, allocations: 24 kB / 435.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.15e-05/0.2513, allocations: 24 kB / 435.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.2514, allocations: 63.75 kB / 435.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.2515, allocations: 143.3 kB / 435.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.2518, allocations: 323.5 kB / 436.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2518, allocations: 0 / 436.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2518, allocations: 0 / 436.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.2518, allocations: 0 / 436.1 MB, free: 2.492 MB / 334.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.0007629/0.2526, allocations: 0.4976 MB / 436.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2526, allocations: 12.03 kB / 436.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.671e-05/0.2527, allocations: 4.844 kB / 436.6 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.882e-05/0.2527, allocations: 58.73 kB / 436.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.2528, allocations: 32.75 kB / 436.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.253, allocations: 194.8 kB / 436.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.2531, allocations: 21.03 kB / 436.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.2531, allocations: 24.38 kB / 437 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.2535, allocations: 272 kB / 437.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2535, allocations: 0 / 437.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.2536, allocations: 12 kB / 437.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2536, allocations: 8 kB / 437.3 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.2539, allocations: 175.8 kB / 437.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/0.2548, allocations: 0.7142 MB / 438.1 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.2552, allocations: 259.7 kB / 438.4 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.2554, allocations: 113.7 kB / 438.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2554, allocations: 8 kB / 438.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.2554, allocations: 38.56 kB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.352e-06/0.2554, allocations: 0 / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002437/0.2579, allocations: 1.421 MB / 440 MB, free: 14.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.2579, allocations: 85.11 kB / 440.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.2581, allocations: 183.1 kB / 440.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.2581, allocations: 37.7 kB / 440.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.2582, allocations: 140.8 kB / 440.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.2584, allocations: 186.4 kB / 440.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.2585, allocations: 74.19 kB / 440.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2586, allocations: 338.8 kB / 441 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2588, allocations: 109 kB / 441.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.259, allocations: 152.8 kB / 441.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.2594, allocations: 282.1 kB / 441.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2594, allocations: 0 / 441.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005185/0.2599, allocations: 373.9 kB / 441.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2599, allocations: 4 kB / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2599, allocations: 0 / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2599, allocations: 4 kB / 441.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.2603, allocations: 108 kB / 442 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2603, allocations: 0 / 442 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.2604, allocations: 12 kB / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.2604, allocations: 16 kB / 442 MB, free: 12.26 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.0001376/0.2606, allocations: 153.7 kB / 442.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.2606, allocations: 35.8 kB / 442.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.599e-05/0.2607, allocations: 37.97 kB / 442.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2607, allocations: 4 kB / 442.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2607, allocations: 3.984 kB / 442.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2607, allocations: 7.984 kB / 442.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.262, allocations: 0.9081 MB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.262, allocations: 0 / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.2624, allocations: 99.83 kB / 443.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.2624, allocations: 11.94 kB / 443.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.2624, allocations: 12 kB / 443.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2624, allocations: 3.984 kB / 443.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2624, allocations: 7.938 kB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.2631, allocations: 0.6356 MB / 443.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.2632, allocations: 35.8 kB / 444 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.2632, allocations: 4 kB / 444 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2634, allocations: 12 kB / 444 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.2634, allocations: 35.88 kB / 444 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.2634, allocations: 12 kB / 444 MB, free: 10.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.791e-05/0.2635, allocations: 127.1 kB / 444.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2635, allocations: 0 / 444.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.2639, allocations: 84 kB / 444.2 MB, free: 9.949 MB / 350.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.001041/0.2649, allocations: 1.196 MB / 445.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004436/0.2654, allocations: 279.6 kB / 445.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.2654, allocations: 4.125 kB / 445.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.2656, allocations: 152.3 kB / 445.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.2661, allocations: 62.75 kB / 445.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.2698, allocations: 3.286 MB / 449.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.2702, allocations: 0.7765 MB / 450 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.2703, allocations: 34.95 kB / 450 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.2705, allocations: 99.41 kB / 450.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2705, allocations: 0 / 450.1 MB, free: 3.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.2987, allocations: 6.537 MB / 456.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.22, allocations: 8 kB / 456.7 MB, free: 13.49 MB / 366.1 MB " [Timeout remaining time 649] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.735125442035496]