Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 100.4 kB / 17.01 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001111, allocations: 194.7 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002346/0.0002346, allocations: 4 kB / 306.8 MB, free: 1.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1049, allocations: 51.5 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002456/0.1074, allocations: 1.58 MB / 359.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1095, allocations: 1.123 MB / 361 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1097, allocations: 4 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006317/0.1103, allocations: 135.6 kB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.1107, allocations: 127.6 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.1113, allocations: 167.2 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.1115, allocations: 167.5 kB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1117, allocations: 25.53 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1118, allocations: 71.64 kB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1119, allocations: 63.69 kB / 361.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.112, allocations: 4 kB / 361.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1121, allocations: 51.91 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.1122, allocations: 27.91 kB / 361.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.1123, allocations: 53.58 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.1125, allocations: 151.9 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1125, allocations: 4 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1125, allocations: 3.938 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1125, allocations: 0 / 362.1 MB, free: 10.22 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007425/0.1133, allocations: 0.4922 MB / 362.5 MB, free: 9.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1134, allocations: 12.03 kB / 362.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.351e-05/0.1134, allocations: 38.55 kB / 362.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.1135, allocations: 23.72 kB / 362.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1138, allocations: 253.7 kB / 362.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1138, allocations: 0 / 362.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.1139, allocations: 11.95 kB / 362.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.1142, allocations: 150.7 kB / 363 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1142, allocations: 7.922 kB / 363 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1142, allocations: 0 / 363 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1142, allocations: 0 / 363 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.374e-05/0.1143, allocations: 31.98 kB / 363.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.1149, allocations: 366.3 kB / 363.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1151, allocations: 107.9 kB / 363.5 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.966e-05/0.1152, allocations: 42.56 kB / 363.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.1152, allocations: 4 kB / 363.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.1154, allocations: 79.31 kB / 363.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1154, allocations: 4 kB / 363.7 MB, free: 8.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003419/0.1157, allocations: 137.4 kB / 363.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/0.1158, allocations: 132.5 kB / 363.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.1161, allocations: 272.9 kB / 364.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.1162, allocations: 25.7 kB / 364.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.1163, allocations: 120.1 kB / 364.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1163, allocations: 24.06 kB / 364.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.1163, allocations: 4 kB / 364.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1165, allocations: 330.8 kB / 364.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.1165, allocations: 23.98 kB / 364.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.123e-05/0.1166, allocations: 65.94 kB / 364.8 MB, free: 7.184 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.73e-05/0.1167, allocations: 32.02 kB / 364.8 MB, free: 7.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1167, allocations: 0 / 364.8 MB, free: 7.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002102/0.1169, allocations: 113.4 kB / 364.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.117, allocations: 8 kB / 364.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.117, allocations: 0 / 364.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.117, allocations: 3.938 kB / 364.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.1171, allocations: 16.12 kB / 364.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1171, allocations: 0 / 364.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.1172, allocations: 15.98 kB / 365 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1172, allocations: 4 kB / 365 MB, free: 6.988 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.1173, allocations: 145.7 kB / 365.1 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.823e-05/0.1174, allocations: 65.36 kB / 365.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.1175, allocations: 29.64 kB / 365.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1175, allocations: 4.062 kB / 365.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1175, allocations: 0 / 365.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1175, allocations: 0 / 365.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.1177, allocations: 233.5 kB / 365.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.1177, allocations: 0 / 365.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.1178, allocations: 4.312 kB / 365.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.1178, allocations: 4 kB / 365.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1178, allocations: 8 kB / 365.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1178, allocations: 3.984 kB / 365.4 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1178, allocations: 4 kB / 365.4 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.1181, allocations: 154.4 kB / 365.6 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1182, allocations: 108.9 kB / 365.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.1182, allocations: 8 kB / 365.7 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.879e-05/0.1183, allocations: 4 kB / 365.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.1183, allocations: 7.984 kB / 365.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1184, allocations: 8 kB / 365.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.1186, allocations: 200.5 kB / 365.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1186, allocations: 0 / 365.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.1189, allocations: 28 kB / 366 MB, free: 5.879 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001607/0.1205, allocations: 1.017 MB / 367 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1207, allocations: 67.91 kB / 367 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1207, allocations: 0 / 367 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.1208, allocations: 23.98 kB / 367.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1212, allocations: 64.58 kB / 367.1 MB, free: 4.824 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.1228, allocations: 0.9976 MB / 368.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1232, allocations: 0.736 MB / 368.9 MB, free: 2.992 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.033e-05/0.1233, allocations: 21.53 kB / 368.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.136e-05/0.1234, allocations: 51.42 kB / 368.9 MB, free: 2.922 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1234, allocations: 0 / 368.9 MB, free: 2.922 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2151/0.3385, allocations: 4.091 MB / 373 MB, free: 18.84 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/0.3388, allocations: 240.6 kB / 373.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.474, allocations: 1.219 kB / 373.3 MB, free: 18.61 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat does not exist to compare? outputFormat=mat