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.0008015/0.0008015, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000942/0.0009421, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.171/1.171, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001911/0.0001911, allocations: 11.94 kB / 307.8 MB, free: 0.7305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07764/0.07785, allocations: 51.52 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.00207/0.07995, allocations: 2.183 MB / 361.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003839/0.08035, allocations: 251 kB / 361.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.08046, allocations: 4 kB / 361.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.08057, allocations: 31.7 kB / 361.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.08072, allocations: 79.38 kB / 361.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.08087, allocations: 51.95 kB / 361.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.08112, allocations: 314.5 kB / 362.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.08129, allocations: 80.77 kB / 362.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.08139, allocations: 103.6 kB / 362.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.08154, allocations: 123.4 kB / 362.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.08157, allocations: 12 kB / 362.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.209e-05/0.08161, allocations: 12 kB / 362.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.08166, allocations: 43.83 kB / 362.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.08179, allocations: 165 kB / 362.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.08202, allocations: 291.1 kB / 363.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.08203, allocations: 0 / 363.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.08204, allocations: 0 / 363.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.08205, allocations: 0 / 363.1 MB, free: 9.469 MB / 302.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.0006312/0.08269, allocations: 0.5263 MB / 363.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.08273, allocations: 12.03 kB / 363.6 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.08279, allocations: 62.72 kB / 363.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.08284, allocations: 36.56 kB / 363.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.08305, allocations: 251.9 kB / 363.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.08308, allocations: 24.88 kB / 364 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.08313, allocations: 28.38 kB / 364 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.08349, allocations: 247.2 kB / 364.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.08352, allocations: 15.83 kB / 364.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.08354, allocations: 12 kB / 364.3 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.08356, allocations: 4 kB / 364.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.08382, allocations: 175.8 kB / 364.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.08471, allocations: 0.7497 MB / 365.2 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.08507, allocations: 273.1 kB / 365.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.08525, allocations: 129.6 kB / 365.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.08527, allocations: 4.625 kB / 365.6 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.0853, allocations: 38.56 kB / 365.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.373e-06/0.08531, allocations: 0 / 365.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002194/0.08751, allocations: 1.709 MB / 367.3 MB, free: 4.828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.08756, allocations: 85.11 kB / 367.4 MB, free: 4.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.08772, allocations: 194.1 kB / 367.6 MB, free: 4.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.08775, allocations: 37.64 kB / 367.6 MB, free: 4.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.08782, allocations: 140.7 kB / 367.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.08792, allocations: 173.5 kB / 368 MB, free: 4.164 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.08798, allocations: 37.7 kB / 368 MB, free: 4.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.08807, allocations: 342.8 kB / 368.3 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.08823, allocations: 101.1 kB / 368.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.08841, allocations: 165.5 kB / 368.6 MB, free: 3.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.08875, allocations: 276.7 kB / 368.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.08876, allocations: 0 / 368.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004451/0.08921, allocations: 373.8 kB / 369.2 MB, free: 2.855 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.08923, allocations: 8 kB / 369.2 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.08924, allocations: 0 / 369.2 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.08926, allocations: 4 kB / 369.2 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.0896, allocations: 99.89 kB / 369.3 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.08961, allocations: 4 kB / 369.3 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.08972, allocations: 12 kB / 369.3 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.08975, allocations: 15.98 kB / 369.4 MB, free: 2.715 MB / 302.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.0001168/0.08987, allocations: 158.3 kB / 369.5 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.08994, allocations: 31.66 kB / 369.5 MB, free: 2.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.077e-05/0.09003, allocations: 49.78 kB / 369.6 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.09004, allocations: 4 kB / 369.6 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.09004, allocations: 0 / 369.6 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.09005, allocations: 0 / 369.6 MB, free: 2.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.09109, allocations: 0.9624 MB / 370.6 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.09111, allocations: 8 kB / 370.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.09148, allocations: 95.89 kB / 370.7 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.09149, allocations: 0 / 370.7 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.09151, allocations: 8 kB / 370.7 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.09152, allocations: 12 kB / 370.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.09153, allocations: 0 / 370.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.09215, allocations: 0.6394 MB / 371.3 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.0922, allocations: 104.8 kB / 371.4 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.09224, allocations: 8 kB / 371.4 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.09241, allocations: 12 kB / 371.4 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.09245, allocations: 35.84 kB / 371.5 MB, free: 488 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.09247, allocations: 8 kB / 371.5 MB, free: 480 kB / 302.1 MB Notification: Performance of sorting global known variables: time 7.715e-05/0.09255, allocations: 131.2 kB / 371.6 MB, free: 348 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09256, allocations: 0 / 371.6 MB, free: 348 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.09288, allocations: 80 kB / 371.7 MB, free: 268 kB / 302.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.1303/0.2232, allocations: 1.19 MB / 372.9 MB, free: 18.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004517/0.2237, allocations: 292.4 kB / 373.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2237, allocations: 1.062 kB / 373.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.2239, allocations: 158 kB / 373.3 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.2245, allocations: 67.41 kB / 373.4 MB, free: 18.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.2276, allocations: 3.514 MB / 376.9 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.2278, allocations: 0.7775 MB / 377.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.2279, allocations: 32.22 kB / 377.7 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.228, allocations: 97.67 kB / 377.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2281, allocations: 0 / 377.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4849/0.7129, allocations: 5.662 MB / 383.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.7131, allocations: 211.6 kB / 383.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.51, allocations: 0 / 383.7 MB, free: 14.85 MB / 302.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