Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007506/0.0007505, allocations: 83.84 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008795/0.0008799, allocations: 178.8 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 241.2 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 4 kB / 300.9 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1239, allocations: 50.41 MB / 351.3 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001591/0.1255, allocations: 1.217 MB / 352.6 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.1259, allocations: 144.3 kB / 352.7 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.1259, allocations: 4 kB / 352.7 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.236e-05/0.126, allocations: 7.922 kB / 352.7 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.1261, allocations: 11.92 kB / 352.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.1263, allocations: 27.92 kB / 352.7 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.221e-05/0.1264, allocations: 39.91 kB / 352.8 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.1265, allocations: 15.92 kB / 352.8 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.1265, allocations: 15.92 kB / 352.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.1266, allocations: 11.88 kB / 352.8 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1266, allocations: 4 kB / 352.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.1266, allocations: 4 kB / 352.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.1266, allocations: 11.98 kB / 352.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.1267, allocations: 37.64 kB / 352.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.116e-05/0.1268, allocations: 35.92 kB / 352.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1268, allocations: 0 / 352.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1268, allocations: 4 kB / 352.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1268, allocations: 0 / 352.9 MB, free: 2.289 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003793/0.1272, allocations: 359.3 kB / 353.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1272, allocations: 16.03 kB / 353.3 MB, free: 1.875 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1273, allocations: 30.56 kB / 353.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.377e-05/0.1273, allocations: 11.86 kB / 353.3 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1274, allocations: 186.9 kB / 353.5 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1275, allocations: 4 kB / 353.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1275, allocations: 4 kB / 353.5 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.1278, allocations: 129.9 kB / 353.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1278, allocations: 3.938 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1278, allocations: 0 / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.1278, allocations: 7.953 kB / 353.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.1279, allocations: 31.92 kB / 353.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.1283, allocations: 361.9 kB / 354 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1284, allocations: 87.72 kB / 354.1 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.1284, allocations: 30.62 kB / 354.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.1285, allocations: 8 kB / 354.2 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1285, allocations: 42.45 kB / 354.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.1285, allocations: 0 / 354.2 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002886/0.1288, allocations: 101.5 kB / 354.3 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.1289, allocations: 106.8 kB / 354.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.129, allocations: 142 kB / 354.6 MB, free: 404 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.129, allocations: 25.7 kB / 354.6 MB, free: 372 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.1291, allocations: 92.42 kB / 354.7 MB, free: 276 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.1291, allocations: 4 kB / 354.7 MB, free: 272 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.1291, allocations: 0 / 354.7 MB, free: 272 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1292, allocations: 318.8 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.1292, allocations: 8 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.1293, allocations: 43.36 kB / 355 MB, free: 15.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.809e-05/0.1294, allocations: 23.98 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1294, allocations: 0 / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001275/0.1295, allocations: 73.52 kB / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1295, allocations: 10.62 kB / 355.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1295, allocations: 11.94 kB / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.1296, allocations: 0 / 355.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.014e-05/0.1296, allocations: 7.938 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1296, allocations: 4 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.525e-05/0.1296, allocations: 4 kB / 355.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1297, allocations: 0 / 355.2 MB, free: 15.75 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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.1298, allocations: 121.8 kB / 355.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.1299, allocations: 57.59 kB / 355.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.1299, allocations: 11.88 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.1299, allocations: 3.953 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1299, allocations: 4 kB / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.1299, allocations: 4.078 kB / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.1302, allocations: 181.6 kB / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1302, allocations: 0 / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-06/0.1302, allocations: 3.938 kB / 355.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1302, allocations: 4 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1302, allocations: 0 / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1302, allocations: 4.031 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1302, allocations: 3.953 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1304, allocations: 255.6 kB / 355.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.1305, allocations: 93 kB / 355.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1305, allocations: 8 kB / 355.9 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.1306, allocations: 3.984 kB / 355.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.1307, allocations: 15.83 kB / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1307, allocations: 0 / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.802e-05/0.1307, allocations: 107.2 kB / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1308, allocations: 0 / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.131, allocations: 8 kB / 356 MB, free: 14.77 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0005107/0.1315, allocations: 0.7829 MB / 356.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.1317, allocations: 51.91 kB / 356.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1317, allocations: 0 / 356.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.717e-05/0.1318, allocations: 15.92 kB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.1322, allocations: 27.97 kB / 356.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008619/0.1331, allocations: 0.5167 MB / 357.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1334, allocations: 0.7005 MB / 358.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.1334, allocations: 7.984 kB / 358.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.314e-05/0.1335, allocations: 15.44 kB / 358.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1335, allocations: 0 / 358.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.1482, allocations: 1.431 MB / 359.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.1485, allocations: 229.2 kB / 359.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.061, allocations: 4.062 kB / 359.8 MB, free: 11.04 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat