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.001471/0.001471, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001344/0.001344, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.374/1.374, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.001748/0.001748, allocations: 63.89 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2425, allocations: 53.41 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003648/0.2461, allocations: 2.323 MB / 434.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005064/0.2466, allocations: 259 kB / 434.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2467, allocations: 7.938 kB / 434.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.2469, allocations: 43.58 kB / 434.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.2471, allocations: 95.19 kB / 434.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.2472, allocations: 67.84 kB / 434.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.2476, allocations: 314.5 kB / 435 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.2478, allocations: 77.69 kB / 435.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.2479, allocations: 119.6 kB / 435.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.2481, allocations: 135.4 kB / 435.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.2481, allocations: 28 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.2482, allocations: 24 kB / 435.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.2482, allocations: 59.77 kB / 435.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.2483, allocations: 115.5 kB / 435.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.2487, allocations: 326.6 kB / 435.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.2487, allocations: 3.984 kB / 435.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2487, allocations: 0 / 435.9 MB, free: 2.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2487, allocations: 0 / 435.9 MB, free: 2.496 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.0008229/0.2495, allocations: 0.4976 MB / 436.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2496, allocations: 8.031 kB / 436.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.332e-05/0.2496, allocations: 12.84 kB / 436.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.415e-05/0.2497, allocations: 58.73 kB / 436.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.2497, allocations: 32.75 kB / 436.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.25, allocations: 194.8 kB / 436.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.2501, allocations: 17.03 kB / 436.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.2501, allocations: 28.38 kB / 436.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.2506, allocations: 264.1 kB / 437 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.2506, allocations: 0 / 437 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.2506, allocations: 19.94 kB / 437 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2506, allocations: 4 kB / 437 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.2509, allocations: 179.8 kB / 437.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009783/0.2519, allocations: 0.6518 MB / 437.8 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.2523, allocations: 261.2 kB / 438.1 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.2525, allocations: 117.7 kB / 438.2 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2525, allocations: 8 kB / 438.2 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.2525, allocations: 34.56 kB / 438.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.442e-06/0.2525, allocations: 0 / 438.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002498/0.255, allocations: 1.427 MB / 439.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.2551, allocations: 85.11 kB / 439.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.2553, allocations: 187.1 kB / 439.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.2553, allocations: 37.7 kB / 439.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.2554, allocations: 136.8 kB / 440.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.2556, allocations: 186.4 kB / 440.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2557, allocations: 70.2 kB / 440.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2558, allocations: 342.8 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.256, allocations: 101 kB / 440.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.2562, allocations: 156.8 kB / 440.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.2566, allocations: 290.1 kB / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2566, allocations: 0 / 441.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005412/0.2572, allocations: 373.9 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2572, allocations: 7.938 kB / 441.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2572, allocations: 0 / 441.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2572, allocations: 4 kB / 441.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.2576, allocations: 103.9 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2576, allocations: 7.984 kB / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.2577, allocations: 12 kB / 441.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.2578, allocations: 12.06 kB / 441.7 MB, free: 12.3 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.0001652/0.2579, allocations: 161.7 kB / 441.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/0.258, allocations: 27.81 kB / 441.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.403e-05/0.2581, allocations: 41.95 kB / 441.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.2581, allocations: 4 kB / 441.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2581, allocations: 0 / 441.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2581, allocations: 0 / 441.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.2594, allocations: 0.873 MB / 442.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.2594, allocations: 8.062 kB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000422/0.2598, allocations: 95.83 kB / 442.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.2598, allocations: 7.938 kB / 442.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.2599, allocations: 8 kB / 442.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.2599, allocations: 11.94 kB / 442.9 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2599, allocations: 0 / 442.9 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00079/0.2607, allocations: 0.6395 MB / 443.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.2607, allocations: 23.8 kB / 443.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.2607, allocations: 15.98 kB / 443.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2609, allocations: 8 kB / 443.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.261, allocations: 31.89 kB / 443.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.261, allocations: 12 kB / 443.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.2611, allocations: 139.1 kB / 443.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2611, allocations: 0 / 443.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.2615, allocations: 76 kB / 443.9 MB, free: 10.04 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.001228/0.2627, allocations: 1.188 MB / 445.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004982/0.2632, allocations: 279.6 kB / 445.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2632, allocations: 4.125 kB / 445.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.2634, allocations: 156.2 kB / 445.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.264, allocations: 59.97 kB / 445.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.2682, allocations: 3.289 MB / 448.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.2684, allocations: 168.8 kB / 449 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.2686, allocations: 38.89 kB / 449 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.2687, allocations: 95.41 kB / 449.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2687, allocations: 0 / 449.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.2997, allocations: 6.609 MB / 455.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.29, allocations: 3.938 kB / 455.8 MB, free: 14.16 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.795377065078355]