Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",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.001014/0.001014, allocations: 91.86 kB / 16.31 MB, free: 5.672 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.001195/0.001195, allocations: 183.4 kB / 17.21 MB, free: 5.59 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.528/1.528, allocations: 223.2 MB / 241.2 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002633/0.0002633, allocations: 4 kB / 300.9 MB, free: 6.348 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1224, allocations: 50.41 MB / 351.3 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001344/0.1238, allocations: 0.597 MB / 351.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004154/0.1242, allocations: 151.5 kB / 352.1 MB, free: 3.176 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1244, allocations: 4 kB / 352.1 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.1245, allocations: 7.922 kB / 352.1 MB, free: 3.164 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.1247, allocations: 11.94 kB / 352.1 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1249, allocations: 43.89 kB / 352.1 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.125, allocations: 55.84 kB / 352.2 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.1252, allocations: 44.03 kB / 352.2 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.1252, allocations: 11.94 kB / 352.3 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.1253, allocations: 35.83 kB / 352.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1253, allocations: 0 / 352.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.1254, allocations: 7.938 kB / 352.3 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.1254, allocations: 23.92 kB / 352.3 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.1255, allocations: 41.64 kB / 352.4 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.1256, allocations: 63.81 kB / 352.4 MB, free: 2.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1256, allocations: 0 / 352.4 MB, free: 2.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1256, allocations: 0 / 352.4 MB, free: 2.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1256, allocations: 0 / 352.4 MB, free: 2.82 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006108/0.1262, allocations: 391.2 kB / 352.8 MB, free: 2.391 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.1263, allocations: 16.03 kB / 352.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.1264, allocations: 46.52 kB / 352.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.1264, allocations: 11.81 kB / 352.9 MB, free: 2.309 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1267, allocations: 206.8 kB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.1267, allocations: 4 kB / 353.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1267, allocations: 12 kB / 353.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.1271, allocations: 229.7 kB / 353.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1272, allocations: 0 / 353.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1272, allocations: 8 kB / 353.3 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1272, allocations: 0 / 353.3 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.1273, allocations: 47.91 kB / 353.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.1275, allocations: 201.5 kB / 353.6 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1277, allocations: 150.2 kB / 353.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1279, allocations: 80.81 kB / 353.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.1279, allocations: 0 / 353.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1279, allocations: 38.56 kB / 353.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.031e-06/0.1279, allocations: 0 / 353.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003019/0.1282, allocations: 169.7 kB / 354 MB, free: 1.062 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.1283, allocations: 67.34 kB / 354.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1284, allocations: 165.8 kB / 354.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1285, allocations: 25.7 kB / 354.3 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.1285, allocations: 96.41 kB / 354.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.1285, allocations: 11.98 kB / 354.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.1286, allocations: 4 kB / 354.4 MB, free: 0.668 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1287, allocations: 326.8 kB / 354.7 MB, free: 348 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/0.1288, allocations: 19.98 kB / 354.7 MB, free: 328 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.1289, allocations: 117.7 kB / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.1289, allocations: 51.86 kB / 354.9 MB, free: 108 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.129, allocations: 4 kB / 354.9 MB, free: 104 kB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002233/0.1292, allocations: 161.1 kB / 355 MB, free: 15.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1292, allocations: 12.44 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1292, allocations: 4 kB / 355 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1292, allocations: 8 kB / 355.1 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.1294, allocations: 31.98 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.1294, allocations: 7.938 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.1295, allocations: 11.91 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1295, allocations: 8 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001761/0.1297, allocations: 153.6 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.1299, allocations: 132.6 kB / 355.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.759e-05/0.13, allocations: 25.19 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.13, allocations: 0 / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.13, allocations: 0 / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.13, allocations: 0 / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.1302, allocations: 197.5 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1302, allocations: 4 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1303, allocations: 31.92 kB / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1303, allocations: 0 / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1303, allocations: 7.938 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1303, allocations: 0 / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1303, allocations: 8 kB / 355.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1306, allocations: 160.9 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1307, allocations: 104.9 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1307, allocations: 4 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.134e-05/0.1308, allocations: 4 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-06/0.1308, allocations: 0 / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.1308, allocations: 4 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.765e-05/0.1309, allocations: 115.2 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1309, allocations: 4 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000246/0.1311, allocations: 20 kB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0007019/0.1318, allocations: 0.7684 MB / 356.8 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.132, allocations: 107.8 kB / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1321, allocations: 0 / 356.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1321, allocations: 0 / 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.0003977/0.1325, allocations: 94.59 kB / 357 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1335, allocations: 0.7765 MB / 357.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1338, allocations: 0.7201 MB / 358.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.425e-05/0.1338, allocations: 9.031 kB / 358.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.1339, allocations: 35.42 kB / 358.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1339, allocations: 0 / 358.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.147, allocations: 2.29 MB / 360.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.1472, allocations: 216.1 kB / 361.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.087, allocations: 3.75 kB / 361.1 MB, free: 9.793 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat