Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 92.88 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001468/0.001468, allocations: 193.4 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002772/0.0002773, allocations: 4 kB / 306.8 MB, free: 1.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 51.49 MB / 358.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002811/0.1341, allocations: 1.584 MB / 359.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.1364, allocations: 1.15 MB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.1366, allocations: 3.938 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006946/0.1373, allocations: 139.6 kB / 361.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.1377, allocations: 127.6 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005942/0.1383, allocations: 167.2 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.1386, allocations: 171.4 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1387, allocations: 37.52 kB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1389, allocations: 67.69 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.139, allocations: 63.64 kB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1391, allocations: 7.938 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1392, allocations: 43.97 kB / 361.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.1393, allocations: 35.84 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.356e-05/0.1394, allocations: 49.64 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1397, allocations: 155.9 kB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1397, allocations: 0 / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1397, allocations: 0 / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1397, allocations: 0 / 362.1 MB, free: 10.16 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.001035/0.1408, allocations: 0.4883 MB / 362.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.1409, allocations: 8.031 kB / 362.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.049e-05/0.1409, allocations: 38.56 kB / 362.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.141, allocations: 23.72 kB / 362.6 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.1414, allocations: 261.7 kB / 362.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1415, allocations: 8 kB / 362.9 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.1415, allocations: 11.89 kB / 362.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.1419, allocations: 142.7 kB / 363.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1419, allocations: 4 kB / 363.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1419, allocations: 0 / 363.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.1419, allocations: 3.984 kB / 363.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.142, allocations: 31.98 kB / 363.1 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.1426, allocations: 362.3 kB / 363.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.1428, allocations: 111.9 kB / 363.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.792e-05/0.1429, allocations: 42.56 kB / 363.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1429, allocations: 4.078 kB / 363.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.1431, allocations: 87.3 kB / 363.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1431, allocations: 0 / 363.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003697/0.1435, allocations: 133.4 kB / 363.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.1436, allocations: 136.5 kB / 364 MB, free: 8.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.144, allocations: 272.9 kB / 364.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.144, allocations: 25.7 kB / 364.3 MB, free: 7.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1441, allocations: 120.4 kB / 364.4 MB, free: 7.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.1442, allocations: 23.73 kB / 364.4 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/0.1442, allocations: 0 / 364.4 MB, free: 7.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1443, allocations: 330.8 kB / 364.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.1444, allocations: 23.98 kB / 364.7 MB, free: 7.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.1445, allocations: 65.94 kB / 364.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.053e-05/0.1446, allocations: 36.02 kB / 364.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1446, allocations: 0 / 364.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001965/0.1448, allocations: 109.4 kB / 364.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1448, allocations: 11.98 kB / 365 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1449, allocations: 128 / 365 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1449, allocations: 4 kB / 365 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.145, allocations: 23.81 kB / 365 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.145, allocations: 320 / 365 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.1451, allocations: 11.98 kB / 365 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1451, allocations: 8 kB / 365 MB, free: 6.914 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,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.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.0001785/0.1453, allocations: 141.8 kB / 365.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.303e-05/0.1454, allocations: 65.36 kB / 365.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.1454, allocations: 25.77 kB / 365.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.1454, allocations: 4 kB / 365.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1454, allocations: 0 / 365.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1455, allocations: 0 / 365.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.1457, allocations: 237.5 kB / 365.5 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1457, allocations: 0 / 365.5 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.1458, allocations: 4 kB / 365.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1458, allocations: 0 / 365.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1458, allocations: 4 kB / 365.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1458, allocations: 0 / 365.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1458, allocations: 3.938 kB / 365.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1461, allocations: 170.4 kB / 365.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1462, allocations: 104.9 kB / 365.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.1462, allocations: 8 kB / 365.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.843e-05/0.1463, allocations: 4 kB / 365.8 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.1463, allocations: 11.98 kB / 365.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.1464, allocations: 8 kB / 365.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.1466, allocations: 196.5 kB / 366 MB, free: 5.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1466, allocations: 0 / 366 MB, free: 5.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1469, allocations: 24 kB / 366 MB, free: 5.812 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.00153/0.1484, allocations: 1.011 MB / 367 MB, free: 4.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.1486, allocations: 63.91 kB / 367.1 MB, free: 4.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1486, allocations: 0 / 367.1 MB, free: 4.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/0.1487, allocations: 31.92 kB / 367.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1491, allocations: 61.25 kB / 367.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1508, allocations: 1.002 MB / 368.2 MB, free: 3.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.1512, allocations: 0.7244 MB / 368.9 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.93e-05/0.1513, allocations: 33.47 kB / 368.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.791e-05/0.1514, allocations: 47.42 kB / 369 MB, free: 2.859 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1514, allocations: 0 / 369 MB, free: 2.859 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2144/0.3658, allocations: 4.088 MB / 373.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.3661, allocations: 245.2 kB / 373.3 MB, free: 18.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.077/2.443, allocations: 0 / 373.3 MB, free: 18.58 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat