Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 176.5 kB / 15.82 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 222 MB, free: 13.76 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008667/0.0008665, allocations: 98.23 kB / 270.3 MB, free: 13.3 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07902/0.07902, allocations: 12.59 MB / 331.1 MB, free: 10.31 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 17.81 kB / 392.1 MB, free: 54.76 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09047, allocations: 50.39 MB / 442.5 MB, free: 10.86 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001382/0.09189, allocations: 1.216 MB / 443.7 MB, free: 9.625 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003063/0.09221, allocations: 147.6 kB / 443.9 MB, free: 9.48 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.924e-05/0.0923, allocations: 3.938 kB / 443.9 MB, free: 9.477 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 8.106e-05/0.0924, allocations: 0 / 443.9 MB, free: 9.477 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 7.829e-05/0.09248, allocations: 11.92 kB / 443.9 MB, free: 9.465 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.09269, allocations: 39.84 kB / 443.9 MB, free: 9.426 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 7.903e-05/0.09277, allocations: 39.86 kB / 444 MB, free: 9.387 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.09287, allocations: 11.98 kB / 444 MB, free: 9.375 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.09291, allocations: 11.94 kB / 444 MB, free: 9.363 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.09295, allocations: 15.91 kB / 444 MB, free: 9.348 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.09298, allocations: 4 kB / 444 MB, free: 9.344 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.093, allocations: 0 / 444 MB, free: 9.344 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.09304, allocations: 15.94 kB / 444 MB, free: 9.328 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.09307, allocations: 37.64 kB / 444.1 MB, free: 9.285 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 6.272e-05/0.09313, allocations: 35.94 kB / 444.1 MB, free: 9.25 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.09314, allocations: 0 / 444.1 MB, free: 9.25 MB / 282.8 MB Notification: Performance of FrontEnd: time 1.974e-06/0.09315, allocations: 0 / 444.1 MB, free: 9.25 MB / 282.8 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.09316, allocations: 0 / 444.1 MB, free: 9.25 MB / 282.8 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.0003751/0.09354, allocations: 379.8 kB / 444.5 MB, free: 8.832 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.09359, allocations: 12.03 kB / 444.5 MB, free: 8.82 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.454e-05/0.09362, allocations: 34.56 kB / 444.5 MB, free: 8.777 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.09365, allocations: 7.906 kB / 444.5 MB, free: 8.77 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.0938, allocations: 202.8 kB / 444.7 MB, free: 8.531 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.09381, allocations: 0 / 444.7 MB, free: 8.531 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.09383, allocations: 11.94 kB / 444.7 MB, free: 8.52 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.09409, allocations: 121.9 kB / 444.8 MB, free: 8.379 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.09411, allocations: 0 / 444.8 MB, free: 8.379 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.09413, allocations: 0 / 444.8 MB, free: 8.379 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.09416, allocations: 4 kB / 444.8 MB, free: 8.375 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.09428, allocations: 43.91 kB / 444.9 MB, free: 8.332 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.09462, allocations: 381.8 kB / 445.3 MB, free: 7.902 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.09474, allocations: 87.78 kB / 445.3 MB, free: 7.789 MB / 282.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.09482, allocations: 42.62 kB / 445.4 MB, free: 7.738 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.09484, allocations: 0 / 445.4 MB, free: 7.738 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.09486, allocations: 42.48 kB / 445.4 MB, free: 7.688 MB / 282.8 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.09487, allocations: 0 / 445.4 MB, free: 7.688 MB / 282.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002979/0.09517, allocations: 117.8 kB / 445.5 MB, free: 7.566 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.09521, allocations: 102.8 kB / 445.6 MB, free: 7.441 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.219e-05/0.0953, allocations: 157.5 kB / 445.8 MB, free: 7.277 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.09532, allocations: 25.7 kB / 445.8 MB, free: 7.246 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.09535, allocations: 88.12 kB / 445.9 MB, free: 7.156 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.218e-06/0.09537, allocations: 11.91 kB / 445.9 MB, free: 7.145 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.09538, allocations: 0 / 445.9 MB, free: 7.145 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.09542, allocations: 314.9 kB / 446.2 MB, free: 6.828 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.09549, allocations: 23.98 kB / 446.3 MB, free: 6.805 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.09555, allocations: 43.36 kB / 446.3 MB, free: 6.75 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.027e-05/0.09562, allocations: 27.97 kB / 446.3 MB, free: 6.723 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.09563, allocations: 0 / 446.3 MB, free: 6.723 MB / 282.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001452/0.09578, allocations: 89.64 kB / 446.4 MB, free: 6.629 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.0958, allocations: 4 kB / 446.4 MB, free: 6.625 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.09581, allocations: 0 / 446.4 MB, free: 6.625 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.09582, allocations: 4 kB / 446.4 MB, free: 6.621 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.0959, allocations: 15.92 kB / 446.4 MB, free: 6.605 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.09592, allocations: 8 kB / 446.4 MB, free: 6.598 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.09596, allocations: 7.953 kB / 446.5 MB, free: 6.59 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.09598, allocations: 8.078 kB / 446.5 MB, free: 6.582 MB / 282.8 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 (sample.u[2],sample.u[1],sample.y[2],sample.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 9.568e-05/0.09608, allocations: 137.5 kB / 446.6 MB, free: 6.438 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.09615, allocations: 45.59 kB / 446.6 MB, free: 6.387 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.09618, allocations: 15.83 kB / 446.7 MB, free: 6.371 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.0962, allocations: 7.984 kB / 446.7 MB, free: 6.363 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.09621, allocations: 0 / 446.7 MB, free: 6.363 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.09621, allocations: 96 / 446.7 MB, free: 6.363 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.09638, allocations: 181.6 kB / 446.8 MB, free: 6.137 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.09639, allocations: 0 / 446.8 MB, free: 6.137 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.09644, allocations: 19.95 kB / 446.9 MB, free: 6.117 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.09645, allocations: 0 / 446.9 MB, free: 6.117 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.09646, allocations: 0 / 446.9 MB, free: 6.117 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.09646, allocations: 4 kB / 446.9 MB, free: 6.113 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.09647, allocations: 0 / 446.9 MB, free: 6.113 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.09666, allocations: 275.5 kB / 447.1 MB, free: 5.824 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.09671, allocations: 93 kB / 447.2 MB, free: 5.715 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.09672, allocations: 0 / 447.2 MB, free: 5.715 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.09683, allocations: 8 kB / 447.2 MB, free: 5.707 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.09687, allocations: 3.984 kB / 447.2 MB, free: 5.703 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.09688, allocations: 11.94 kB / 447.2 MB, free: 5.691 MB / 282.8 MB Notification: Performance of sorting global known variables: time 4.301e-05/0.09693, allocations: 107.2 kB / 447.3 MB, free: 5.586 MB / 282.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09693, allocations: 0 / 447.3 MB, free: 5.586 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0002344/0.09717, allocations: 11.92 kB / 447.4 MB, free: 5.574 MB / 282.8 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 (sample.u[2],sample.u[1],sample.y[1],sample.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.0003228/0.0975, allocations: 0.8024 MB / 448.2 MB, free: 4.742 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.09766, allocations: 60.03 kB / 448.2 MB, free: 4.684 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.09767, allocations: 0 / 448.2 MB, free: 4.684 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 5.569e-05/0.09773, allocations: 19.92 kB / 448.2 MB, free: 4.664 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.0981, allocations: 31.77 kB / 448.3 MB, free: 4.637 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.09881, allocations: 0.5535 MB / 448.8 MB, free: 4.012 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.09896, allocations: 0.6927 MB / 449.5 MB, free: 3.293 MB / 282.8 MB Notification: Performance of simCode: alias equations: time 3.208e-05/0.099, allocations: 11.98 kB / 449.5 MB, free: 3.281 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.09904, allocations: 15.44 kB / 449.5 MB, free: 3.266 MB / 282.8 MB Notification: Performance of SimCode: time 2.41e-07/0.09905, allocations: 0 / 449.5 MB, free: 3.266 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.1101, allocations: 1.471 MB / 451 MB, free: 1.809 MB / 282.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/0.1103, allocations: 232.4 kB / 451.2 MB, free: 1.566 MB / 282.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/1.7, allocations: 4 kB / 451.2 MB, free: 1.562 MB / 282.8 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat