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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 56.09 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2493, allocations: 50.54 MB / 408.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003499/0.2529, allocations: 2.505 MB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007046/0.2536, allocations: 255 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.2538, allocations: 4 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.254, allocations: 43.56 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.2542, allocations: 91.14 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.2544, allocations: 63.91 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003429/0.2548, allocations: 322.5 kB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.255, allocations: 99.11 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.2552, allocations: 119.6 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.2553, allocations: 135.4 kB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/0.2554, allocations: 24 kB / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.22e-05/0.2554, allocations: 24 kB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.2555, allocations: 55.84 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.2557, allocations: 143.3 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.256, allocations: 324.5 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.256, allocations: 0 / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.256, allocations: 0 / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.256, allocations: 0 / 412.9 MB, free: 13.36 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.0007828/0.2568, allocations: 0.5652 MB / 413.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2568, allocations: 12.03 kB / 413.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.01e-05/0.2569, allocations: 62.72 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.257, allocations: 32.59 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.2573, allocations: 259.7 kB / 413.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.2574, allocations: 16.94 kB / 413.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.2574, allocations: 28.38 kB / 413.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.2578, allocations: 259.1 kB / 414.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.2579, allocations: 11.84 kB / 414.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.2579, allocations: 12 kB / 414.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2579, allocations: 4 kB / 414.2 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.2582, allocations: 175.8 kB / 414.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.2592, allocations: 0.7422 MB / 415.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.2596, allocations: 281 kB / 415.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.2598, allocations: 121.7 kB / 415.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.2598, allocations: 4 kB / 415.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.2599, allocations: 34.56 kB / 415.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.483e-06/0.2599, allocations: 0 / 415.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002518/0.2624, allocations: 1.718 MB / 417.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.2625, allocations: 89.11 kB / 417.3 MB, free: 8.578 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.2626, allocations: 191.1 kB / 417.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.2626, allocations: 37.7 kB / 417.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.2627, allocations: 140.7 kB / 417.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.2628, allocations: 161.5 kB / 417.8 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.2629, allocations: 78.25 kB / 417.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2631, allocations: 338.8 kB / 418.2 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.2632, allocations: 109.1 kB / 418.3 MB, free: 7.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.2634, allocations: 157.4 kB / 418.5 MB, free: 7.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.2638, allocations: 282.2 kB / 418.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2638, allocations: 3.938 kB / 418.8 MB, free: 7.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004837/0.2643, allocations: 369.8 kB / 419.1 MB, free: 6.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2643, allocations: 4 kB / 419.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2643, allocations: 4 kB / 419.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2643, allocations: 0 / 419.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.2647, allocations: 103.9 kB / 419.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.2647, allocations: 3.938 kB / 419.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.2649, allocations: 8 kB / 419.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.2649, allocations: 16 kB / 419.3 MB, free: 6.547 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.0001345/0.265, allocations: 157.7 kB / 419.4 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.2651, allocations: 35.69 kB / 419.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.2652, allocations: 33.88 kB / 419.5 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.2652, allocations: 4 kB / 419.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2652, allocations: 0 / 419.5 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.2652, allocations: 11.92 kB / 419.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.2664, allocations: 0.9467 MB / 420.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2664, allocations: 4 kB / 420.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.2668, allocations: 95.84 kB / 420.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.2668, allocations: 7.938 kB / 420.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.2668, allocations: 11.98 kB / 420.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.237e-06/0.2668, allocations: 4 kB / 420.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2668, allocations: 0 / 420.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.2675, allocations: 0.6396 MB / 421.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.2676, allocations: 100.8 kB / 421.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.2676, allocations: 12 kB / 421.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.2678, allocations: 11.94 kB / 421.3 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.2679, allocations: 27.95 kB / 421.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.2679, allocations: 12 kB / 421.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.236e-05/0.268, allocations: 131.1 kB / 421.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.268, allocations: 8 kB / 421.5 MB, free: 4.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003501/0.2684, allocations: 76 kB / 421.6 MB, free: 4.117 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.0009539/0.2693, allocations: 1.2 MB / 422.8 MB, free: 2.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.2698, allocations: 292.4 kB / 423.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2698, allocations: 0 / 423.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.27, allocations: 163.9 kB / 423.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.2705, allocations: 75.31 kB / 423.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.274, allocations: 3.269 MB / 426.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.2743, allocations: 0.7764 MB / 427.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.2744, allocations: 26.97 kB / 427.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.2746, allocations: 95.41 kB / 427.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2746, allocations: 4 kB / 427.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.2995, allocations: 6.185 MB / 433.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.023, allocations: 10.55 kB / 433.7 MB, free: 7.984 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches