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.001279/0.001279, allocations: 108.7 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001282, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.00115, allocations: 59.94 kB / 306.3 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08009/0.08126, allocations: 50.53 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003225/0.08451, allocations: 2.533 MB / 359.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004817/0.08502, allocations: 263 kB / 359.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.08518, allocations: 4 kB / 359.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.08535, allocations: 31.7 kB / 359.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.08552, allocations: 83.38 kB / 359.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.08568, allocations: 47.95 kB / 359.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.08597, allocations: 314.5 kB / 360.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.08613, allocations: 84.77 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.08625, allocations: 107.6 kB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.0864, allocations: 127.4 kB / 360.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.08644, allocations: 20 kB / 360.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.196e-05/0.08649, allocations: 16 kB / 360.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.08654, allocations: 51.77 kB / 360.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.08667, allocations: 135.3 kB / 360.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.08692, allocations: 299.2 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.08693, allocations: 7.938 kB / 361 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.08694, allocations: 4 kB / 361 MB, free: 10.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.08695, allocations: 0 / 361 MB, free: 10.28 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.0007314/0.08769, allocations: 0.5597 MB / 361.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.08773, allocations: 8.031 kB / 361.5 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.08779, allocations: 66.73 kB / 361.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.08785, allocations: 36.55 kB / 361.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.08809, allocations: 251.8 kB / 361.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.08811, allocations: 20.94 kB / 361.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.08816, allocations: 36.27 kB / 361.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.08853, allocations: 247.2 kB / 362.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.08855, allocations: 11.88 kB / 362.2 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.08858, allocations: 8 kB / 362.2 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.08859, allocations: 12 kB / 362.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.08887, allocations: 179.8 kB / 362.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.08978, allocations: 0.7458 MB / 363.1 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.09016, allocations: 277.3 kB / 363.4 MB, free: 7.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.09032, allocations: 125.9 kB / 363.5 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.09034, allocations: 4 kB / 363.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.09037, allocations: 38.56 kB / 363.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.09038, allocations: 0 / 363.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002343/0.09272, allocations: 1.703 MB / 365.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.09278, allocations: 89.11 kB / 365.4 MB, free: 5.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.09293, allocations: 187 kB / 365.6 MB, free: 5.309 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.09297, allocations: 37.7 kB / 365.6 MB, free: 5.266 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.09305, allocations: 136.7 kB / 365.7 MB, free: 5.125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.09315, allocations: 173.5 kB / 365.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.453e-05/0.09325, allocations: 78.17 kB / 366 MB, free: 4.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.09337, allocations: 338.8 kB / 366.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.09354, allocations: 101.1 kB / 366.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.09373, allocations: 165.5 kB / 366.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.09409, allocations: 276.7 kB / 366.8 MB, free: 3.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.0941, allocations: 0 / 366.8 MB, free: 3.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004783/0.09458, allocations: 369.8 kB / 367.2 MB, free: 3.609 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.09461, allocations: 12.06 kB / 367.2 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.09462, allocations: 0 / 367.2 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.09463, allocations: 4 kB / 367.2 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.09498, allocations: 99.89 kB / 367.3 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.095, allocations: 4 kB / 367.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.09511, allocations: 8 kB / 367.3 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.09514, allocations: 19.94 kB / 367.3 MB, free: 3.465 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.0001195/0.09526, allocations: 154.3 kB / 367.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/0.09534, allocations: 39.56 kB / 367.5 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.24e-05/0.09542, allocations: 41.86 kB / 367.6 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.09543, allocations: 4 kB / 367.6 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.09544, allocations: 4 kB / 367.6 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.09545, allocations: 0 / 367.6 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.09657, allocations: 0.9624 MB / 368.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.09658, allocations: 0 / 368.5 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.09699, allocations: 103.8 kB / 368.6 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.097, allocations: 0 / 368.6 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.09703, allocations: 8 kB / 368.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.09704, allocations: 7.984 kB / 368.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.09704, allocations: 0 / 368.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006708/0.09772, allocations: 0.6434 MB / 369.3 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.09778, allocations: 108.7 kB / 369.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.09782, allocations: 8 kB / 369.4 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.09799, allocations: 8 kB / 369.4 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.09804, allocations: 35.91 kB / 369.5 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.09806, allocations: 8 kB / 369.5 MB, free: 1.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.089e-05/0.09816, allocations: 131.2 kB / 369.6 MB, free: 1.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09816, allocations: 0 / 369.6 MB, free: 1.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.0985, allocations: 80 kB / 369.7 MB, free: 1.016 MB / 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.1482/0.2467, allocations: 1.188 MB / 370.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.2473, allocations: 287.7 kB / 371.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2473, allocations: 0 / 371.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.2475, allocations: 162.9 kB / 371.3 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006898/0.2482, allocations: 61.73 kB / 371.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.2515, allocations: 3.384 MB / 374.7 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.2517, allocations: 0.7748 MB / 375.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.2519, allocations: 39.39 kB / 375.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.252, allocations: 96.36 kB / 375.6 MB, free: 17.25 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.252, allocations: 0 / 375.6 MB, free: 17.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09723/0.3493, allocations: 5.762 MB / 381.4 MB, free: 16.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.3494, allocations: 215.5 kB / 381.6 MB, free: 16.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.108, allocations: 7 kB / 381.6 MB, free: 16.5 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