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.001304/0.001304, allocations: 120.4 kB / 20.44 MB, free: 1.461 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.001415/0.001415, allocations: 212.1 kB / 23.74 MB, free: 4.695 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.4/1.4, allocations: 230.5 MB / 257.4 MB, free: 8.215 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.001997/0.001997, allocations: 63.89 kB / 377.8 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2361, allocations: 53.4 MB / 431.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004122/0.2403, allocations: 2.518 MB / 433.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.2409, allocations: 255 kB / 433.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.2412, allocations: 4 kB / 433.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.2414, allocations: 47.5 kB / 434 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.2416, allocations: 95.12 kB / 434.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.2419, allocations: 67.92 kB / 434.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.2423, allocations: 318.5 kB / 434.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.2425, allocations: 71.58 kB / 434.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.2427, allocations: 123.6 kB / 434.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.243, allocations: 135.3 kB / 434.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.243, allocations: 24 kB / 434.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.12e-05/0.2431, allocations: 28 kB / 434.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.2431, allocations: 51.84 kB / 434.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.2433, allocations: 151.2 kB / 435 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.2437, allocations: 315 kB / 435.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2437, allocations: 4 kB / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2437, allocations: 0 / 435.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.2437, allocations: 0 / 435.3 MB, free: 2.531 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.0008929/0.2446, allocations: 0.4976 MB / 435.8 MB, free: 2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2446, allocations: 8.031 kB / 435.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.421e-05/0.2447, allocations: 62.72 kB / 435.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.2448, allocations: 32.75 kB / 435.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.2451, allocations: 190.8 kB / 436.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.2451, allocations: 21.03 kB / 436.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.2452, allocations: 24.38 kB / 436.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.2456, allocations: 264.3 kB / 436.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.2456, allocations: 7.938 kB / 436.4 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.2457, allocations: 12 kB / 436.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.2457, allocations: 8 kB / 436.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.246, allocations: 171.9 kB / 436.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.2471, allocations: 0.7103 MB / 437.3 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004143/0.2475, allocations: 257.2 kB / 437.6 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.2477, allocations: 120.3 kB / 437.7 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.2477, allocations: 4 kB / 437.7 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.2477, allocations: 46.5 kB / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.033e-06/0.2477, allocations: 0 / 437.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002629/0.2504, allocations: 1.425 MB / 439.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.2504, allocations: 93.03 kB / 439.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.2506, allocations: 187.1 kB / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.2506, allocations: 29.7 kB / 439.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.2507, allocations: 140.8 kB / 439.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.2509, allocations: 182.4 kB / 439.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.251, allocations: 78.19 kB / 439.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2511, allocations: 342.8 kB / 440.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.2513, allocations: 108.9 kB / 440.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.2516, allocations: 152.8 kB / 440.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.252, allocations: 286.1 kB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.252, allocations: 0 / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005444/0.2525, allocations: 366 kB / 441.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2525, allocations: 4 kB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2525, allocations: 4 kB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.2525, allocations: 3.984 kB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/0.2529, allocations: 103.8 kB / 441.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.2529, allocations: 0 / 441.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.253, allocations: 12 kB / 441.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.2531, allocations: 20.06 kB / 441.2 MB, free: 12.29 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.0001511/0.2532, allocations: 153.7 kB / 441.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.2533, allocations: 35.75 kB / 441.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.474e-05/0.2534, allocations: 37.97 kB / 441.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.2534, allocations: 4 kB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2534, allocations: 0 / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.2534, allocations: 3.984 kB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.2547, allocations: 0.9159 MB / 442.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2547, allocations: 0 / 442.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.2551, allocations: 95.89 kB / 442.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.2551, allocations: 7.938 kB / 442.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.2552, allocations: 8 kB / 442.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2552, allocations: 0 / 442.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2552, allocations: 4 kB / 442.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007888/0.2559, allocations: 0.6434 MB / 443.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.256, allocations: 31.73 kB / 443.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.256, allocations: 4 kB / 443.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.2562, allocations: 12 kB / 443.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.2563, allocations: 35.94 kB / 443.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.2563, allocations: 12 kB / 443.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.2564, allocations: 131.1 kB / 443.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2564, allocations: 0 / 443.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.2568, allocations: 84 kB / 443.5 MB, free: 9.996 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.001141/0.2579, allocations: 1.188 MB / 444.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004925/0.2584, allocations: 283.6 kB / 444.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2584, allocations: 0 / 444.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.2586, allocations: 148.4 kB / 445.1 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006032/0.2592, allocations: 78.73 kB / 445.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.2633, allocations: 3.278 MB / 448.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.2637, allocations: 0.7765 MB / 449.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.2638, allocations: 34.97 kB / 449.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.264, allocations: 99.41 kB / 449.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.264, allocations: 0 / 449.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.3024, allocations: 6.51 MB / 455.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.6, allocations: 15.3 kB / 455.8 MB, free: 13.55 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.049532409990206]