Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007659/0.000766, allocations: 99.98 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009124/0.0009124, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.000396, allocations: 4 kB / 306.8 MB, free: 1.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1581, allocations: 51.49 MB / 358.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002177/0.1604, allocations: 1.231 MB / 359.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004103/0.1608, allocations: 159.5 kB / 359.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.1609, allocations: 7.938 kB / 359.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.161, allocations: 3.938 kB / 359.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.795e-05/0.1611, allocations: 11.92 kB / 359.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1614, allocations: 31.97 kB / 359.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.1615, allocations: 31.86 kB / 359.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1616, allocations: 19.97 kB / 359.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-05/0.1617, allocations: 11.88 kB / 359.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.1618, allocations: 23.86 kB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1618, allocations: 4 kB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.1618, allocations: 0 / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.1619, allocations: 19.92 kB / 359.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.1619, allocations: 29.7 kB / 359.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.023e-05/0.162, allocations: 35.92 kB / 359.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.162, allocations: 0 / 359.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.162, allocations: 0 / 359.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.162, allocations: 3.938 kB / 359.9 MB, free: 12.36 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005748/0.1626, allocations: 382.7 kB / 360.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1627, allocations: 8.031 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.1627, allocations: 34.55 kB / 360.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.1627, allocations: 11.91 kB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.163, allocations: 190.9 kB / 360.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.163, allocations: 0 / 360.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.163, allocations: 4 kB / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.1634, allocations: 129.9 kB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1634, allocations: 0 / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1634, allocations: 7.938 kB / 360.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.1634, allocations: 0 / 360.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1636, allocations: 47.91 kB / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.164, allocations: 381.8 kB / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.1642, allocations: 87.83 kB / 361.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.665e-05/0.1643, allocations: 42.56 kB / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.1643, allocations: 7.984 kB / 361.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1643, allocations: 34.56 kB / 361.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1643, allocations: 0 / 361.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003342/0.1647, allocations: 117.7 kB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.1648, allocations: 110.8 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1649, allocations: 149.7 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.165, allocations: 29.69 kB / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.165, allocations: 92.27 kB / 361.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.165, allocations: 4 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.165, allocations: 4 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1652, allocations: 318.8 kB / 362.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.214e-05/0.1652, allocations: 19.98 kB / 362.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.1653, allocations: 47.42 kB / 362.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.223e-05/0.1654, allocations: 19.98 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1654, allocations: 0 / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001714/0.1656, allocations: 97.44 kB / 362.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1656, allocations: 4 kB / 362.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1656, allocations: 4 kB / 362.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.1656, allocations: 0 / 362.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.1657, allocations: 15.98 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1657, allocations: 0 / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.1658, allocations: 16.08 kB / 362.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1658, allocations: 0 / 362.3 MB, free: 9.691 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[2],sample1.u[1],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.0002061/0.166, allocations: 121.8 kB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.1661, allocations: 53.55 kB / 362.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.1662, allocations: 19.81 kB / 362.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.1662, allocations: 3.938 kB / 362.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1662, allocations: 4 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1662, allocations: 4.031 kB / 362.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.1665, allocations: 173.6 kB / 362.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1665, allocations: 3.984 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.1665, allocations: 8 kB / 362.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1666, allocations: 0 / 362.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1666, allocations: 4 kB / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1666, allocations: 0 / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1666, allocations: 0 / 362.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.1669, allocations: 279.5 kB / 362.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.167, allocations: 93 kB / 363 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.167, allocations: 8 kB / 363 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1672, allocations: 11.98 kB / 363.1 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.1672, allocations: 4 kB / 363.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1672, allocations: 0 / 363.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.306e-05/0.1673, allocations: 110 kB / 363.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1673, allocations: 0 / 363.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1676, allocations: 11.95 kB / 363.2 MB, free: 8.691 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[2],sample1.u[1],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.0009682/0.1686, allocations: 0.8139 MB / 364 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1688, allocations: 55.91 kB / 364.1 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1688, allocations: 3.938 kB / 364.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.894e-05/0.1689, allocations: 20.3 kB / 364.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.1694, allocations: 28.08 kB / 364.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1705, allocations: 0.5516 MB / 364.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.171, allocations: 0.7005 MB / 365.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.244e-05/0.171, allocations: 7.984 kB / 365.4 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.1711, allocations: 15.44 kB / 365.4 MB, free: 6.371 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1711, allocations: 0 / 365.4 MB, free: 6.371 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.1849, allocations: 1.442 MB / 366.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.1851, allocations: 229.8 kB / 367 MB, free: 4.867 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.069, allocations: 2.672 kB / 367 MB, free: 4.867 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat