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.001729/0.001729, allocations: 181.2 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.2 MB / 219 MB, free: 9.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001709/0.001709, allocations: 88.86 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.15/0.15, allocations: 12.58 MB / 327.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.841e-05, allocations: 0 / 386.1 MB, free: 69.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09487, allocations: 50.37 MB / 436.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5185/0.6134, allocations: 77.6 MB / 0.502 GB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/0.6138, allocations: 74.09 kB / 0.5021 GB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006118/0.62, allocations: 1.276 MB / 0.5033 GB, free: 11.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.62, allocations: 7.938 kB / 0.5033 GB, free: 11.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.6201, allocations: 3.906 kB / 0.5033 GB, free: 11.06 MB / 330.7 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.000528/0.6206, allocations: 355.3 kB / 0.5037 GB, free: 10.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.6207, allocations: 10.28 kB / 0.5037 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.6208, allocations: 37.97 kB / 0.5037 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.6208, allocations: 11.69 kB / 0.5037 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.6211, allocations: 201.4 kB / 0.5039 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.6212, allocations: 4 kB / 0.5039 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.6212, allocations: 6.969 kB / 0.5039 GB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.6216, allocations: 109.3 kB / 0.5041 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.6216, allocations: 3.938 kB / 0.5041 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.6217, allocations: 0 / 0.5041 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.6217, allocations: 7.844 kB / 0.5041 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.789e-05/0.6218, allocations: 21.33 kB / 0.5041 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.6226, allocations: 372.7 kB / 0.5044 GB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.6227, allocations: 66.73 kB / 0.5045 GB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.599e-05/0.6228, allocations: 29.45 kB / 0.5045 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.6229, allocations: 3.438 kB / 0.5045 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.6229, allocations: 38.5 kB / 0.5046 GB, free: 9.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.289e-06/0.623, allocations: 3.875 kB / 0.5046 GB, free: 9.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003355/0.6233, allocations: 64.44 kB / 0.5046 GB, free: 9.809 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.6234, allocations: 110.4 kB / 0.5047 GB, free: 9.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.6236, allocations: 132.6 kB / 0.5049 GB, free: 9.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.6236, allocations: 25.7 kB / 0.5049 GB, free: 9.559 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.6237, allocations: 94.78 kB / 0.505 GB, free: 9.473 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.6237, allocations: 7.156 kB / 0.505 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.6237, allocations: 3.938 kB / 0.505 GB, free: 9.465 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.277e-05/0.6238, allocations: 321.6 kB / 0.5053 GB, free: 9.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.6239, allocations: 3.625 kB / 0.5053 GB, free: 9.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.624, allocations: 34.12 kB / 0.5053 GB, free: 9.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.624, allocations: 14.81 kB / 0.5053 GB, free: 9.113 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.624, allocations: 3.844 kB / 0.5054 GB, free: 9.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001941/0.6242, allocations: 63.59 kB / 0.5054 GB, free: 9.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.6243, allocations: 3.906 kB / 0.5054 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6243, allocations: 3.875 kB / 0.5054 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.6244, allocations: 2.953 kB / 0.5054 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.6246, allocations: 11.66 kB / 0.5054 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.6246, allocations: 11.08 kB / 0.5054 GB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.6247, allocations: 3.844 kB / 0.5054 GB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.6247, allocations: 7.797 kB / 0.5055 GB, free: 9.062 MB / 330.7 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[1],sample.u[2],sample.y[2],sample.y[1]) * Number of discrete 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.0001057/0.6249, allocations: 108.6 kB / 0.5056 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.6251, allocations: 50.39 kB / 0.5056 GB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.326e-05/0.6252, allocations: 14.7 kB / 0.5056 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.6252, allocations: 0 / 0.5056 GB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6252, allocations: 7.875 kB / 0.5056 GB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.6252, allocations: 3 kB / 0.5056 GB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.6257, allocations: 176.6 kB / 0.5058 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.6257, allocations: 3.844 kB / 0.5058 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.6259, allocations: 11.72 kB / 0.5058 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.6259, allocations: 7.094 kB / 0.5058 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.6259, allocations: 0 / 0.5058 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.626, allocations: 0 / 0.5058 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.626, allocations: 3.938 kB / 0.5058 GB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.6263, allocations: 269.4 kB / 0.5061 GB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.6264, allocations: 98.48 kB / 0.5062 GB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.6265, allocations: 2.719 kB / 0.5062 GB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.6267, allocations: 7.844 kB / 0.5062 GB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.958e-05/0.6269, allocations: 10.56 kB / 0.5062 GB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.6269, allocations: 3.938 kB / 0.5062 GB, free: 8.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.627, allocations: 107.4 kB / 0.5063 GB, free: 8.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.627, allocations: 0 / 0.5063 GB, free: 8.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006832/0.6277, allocations: 7.688 kB / 0.5063 GB, free: 8.266 MB / 330.7 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[1],sample.u[2],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006246/0.6284, allocations: 0.9326 MB / 0.5072 GB, free: 7.352 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.6286, allocations: 32.62 kB / 0.5073 GB, free: 7.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6286, allocations: 0 / 0.5073 GB, free: 7.348 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.6287, allocations: 15.72 kB / 0.5073 GB, free: 7.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.6293, allocations: 26.33 kB / 0.5073 GB, free: 7.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008954/0.6302, allocations: 149.8 kB / 0.5074 GB, free: 7.207 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.6305, allocations: 0.6953 MB / 0.5081 GB, free: 6.512 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.601e-05/0.6306, allocations: 10.91 kB / 0.5081 GB, free: 6.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.6307, allocations: 24.91 kB / 0.5081 GB, free: 6.496 MB / 330.7 MB Notification: Performance of SimCode: time 3.707e-06/0.6307, allocations: 0 / 0.5081 GB, free: 6.496 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.6546, allocations: 1.458 MB / 0.5096 GB, free: 6.16 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/0.6549, allocations: 188.3 kB / 0.5098 GB, free: 5.941 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.093, allocations: 7.781 kB / 0.5098 GB, free: 5.938 MB / 330.7 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