Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 227.7 MB / 247.1 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 68.52 kB / 307.3 MB, free: 420 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1034, allocations: 50.55 MB / 357.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002867/0.1063, allocations: 1.495 MB / 359.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008752/0.1072, allocations: 0.5042 MB / 359.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.1073, allocations: 0 / 359.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.1073, allocations: 7.922 kB / 359.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.227e-05/0.1074, allocations: 11.88 kB / 359.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.1076, allocations: 43.81 kB / 359.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.1077, allocations: 71.72 kB / 360 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.1078, allocations: 12.17 kB / 360 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.108, allocations: 39.84 kB / 360 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.1081, allocations: 31.84 kB / 360.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1081, allocations: 4 kB / 360.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.519e-05/0.1081, allocations: 15.98 kB / 360.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.1082, allocations: 7.984 kB / 360.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.1082, allocations: 35.73 kB / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1084, allocations: 60.08 kB / 360.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1084, allocations: 0 / 360.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.36e-06/0.1084, allocations: 4 kB / 360.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1084, allocations: 4 kB / 360.2 MB, free: 11.49 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006636/0.1091, allocations: 387.1 kB / 360.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1091, allocations: 8.031 kB / 360.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.1092, allocations: 38.75 kB / 360.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.1095, allocations: 32.81 kB / 360.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1097, allocations: 188 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1097, allocations: 4.375 kB / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1097, allocations: 8.375 kB / 360.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.11, allocations: 84.16 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.11, allocations: 0 / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.11, allocations: 0 / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.11, allocations: 0 / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.1103, allocations: 67.88 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.1106, allocations: 183.5 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.1108, allocations: 103.8 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.111, allocations: 50.61 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.111, allocations: 7.922 kB / 361.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1111, allocations: 42.48 kB / 361.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1111, allocations: 0 / 361.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005381/0.1116, allocations: 141.4 kB / 361.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.1117, allocations: 107.2 kB / 361.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1118, allocations: 132.6 kB / 361.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1118, allocations: 29.7 kB / 361.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.1119, allocations: 84.14 kB / 361.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.1119, allocations: 11.91 kB / 361.9 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.112, allocations: 17.7 kB / 361.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1121, allocations: 322.8 kB / 362.2 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1123, allocations: 31.97 kB / 362.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.1124, allocations: 54.42 kB / 362.3 MB, free: 9.113 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.1127, allocations: 82.52 kB / 362.4 MB, free: 9.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1127, allocations: 4 kB / 362.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003244/0.113, allocations: 113.4 kB / 362.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1131, allocations: 4 kB / 362.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1131, allocations: 8.094 kB / 362.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1131, allocations: 0 / 362.5 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.1132, allocations: 23.91 kB / 362.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1133, allocations: 0 / 362.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.1134, allocations: 15.92 kB / 362.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1134, allocations: 7.938 kB / 362.6 MB, free: 8.844 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 8.438e-05/0.1135, allocations: 109.8 kB / 362.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.1135, allocations: 15.92 kB / 362.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.1136, allocations: 23.81 kB / 362.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1136, allocations: 0 / 362.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1136, allocations: 4 kB / 362.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1136, allocations: 0 / 362.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.1138, allocations: 173.6 kB / 362.9 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1138, allocations: 4 kB / 362.9 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.1139, allocations: 19.98 kB / 362.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1139, allocations: 0 / 362.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1139, allocations: 3.984 kB / 362.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1139, allocations: 4 kB / 362.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1139, allocations: 4 kB / 362.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.1143, allocations: 146.6 kB / 363.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.1144, allocations: 89.02 kB / 363.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.1144, allocations: 0 / 363.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1145, allocations: 11.98 kB / 363.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.1146, allocations: 7.984 kB / 363.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1146, allocations: 4 kB / 363.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.106e-05/0.1147, allocations: 99.25 kB / 363.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1147, allocations: 0 / 363.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001982/0.1149, allocations: 12 kB / 363.3 MB, free: 8.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (4): * Single equations (assignments): 4 * 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.0006804/0.1156, allocations: 0.6725 MB / 363.9 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.1159, allocations: 83.86 kB / 364 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.1159, allocations: 0 / 364 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1161, allocations: 39.84 kB / 364.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.1163, allocations: 10.78 kB / 364.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.1183, allocations: 1.454 MB / 365.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1187, allocations: 0.6885 MB / 366.2 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.547e-05/0.1188, allocations: 0 / 366.2 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.1188, allocations: 23.42 kB / 366.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1188, allocations: 0 / 366.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9666/1.085, allocations: 1.738 MB / 368 MB, free: 3.223 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.08, allocations: 3.984 kB / 368 MB, free: 3.219 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1)