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.00111/0.00111, allocations: 172.4 kB / 16.14 MB, free: 5.656 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.463/1.463, allocations: 205.4 MB / 222.3 MB, free: 9.012 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.0006804/0.0006804, allocations: 92.8 kB / 270.7 MB, free: 8.242 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.07664/0.07664, allocations: 12.6 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 12 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.09158, allocations: 50.38 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001617/0.09323, allocations: 1.23 MB / 444.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003932/0.09366, allocations: 143.5 kB / 444.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-05/0.09379, allocations: 0 / 444.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.978e-05/0.09391, allocations: 3.938 kB / 444.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.851e-05/0.094, allocations: 15.91 kB / 444.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.09424, allocations: 27.98 kB / 444.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.429e-05/0.09434, allocations: 43.78 kB / 444.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.09443, allocations: 16 kB / 444.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.033e-05/0.09447, allocations: 15.92 kB / 444.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.09451, allocations: 15.88 kB / 444.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.09453, allocations: 0 / 444.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.09455, allocations: 7.938 kB / 444.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.09459, allocations: 7.984 kB / 444.7 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.09463, allocations: 57.44 kB / 444.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.302e-05/0.09471, allocations: 43.81 kB / 444.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.09472, allocations: 0 / 444.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.09473, allocations: 4 kB / 444.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.09474, allocations: 0 / 444.8 MB, free: 13.67 MB / 298.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.0003702/0.09512, allocations: 379.4 kB / 445.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.09517, allocations: 12.03 kB / 445.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.09521, allocations: 34.75 kB / 445.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.09524, allocations: 8.844 kB / 445.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.0954, allocations: 208 kB / 445.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.09542, allocations: 4.375 kB / 445.4 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.09544, allocations: 8.359 kB / 445.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.0957, allocations: 118.5 kB / 445.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.09572, allocations: 3.938 kB / 445.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.09574, allocations: 12 kB / 445.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.09577, allocations: 0 / 445.5 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.0959, allocations: 43.91 kB / 445.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.0963, allocations: 381.8 kB / 446 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.09644, allocations: 83.78 kB / 446 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.116e-05/0.09652, allocations: 38.62 kB / 446.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.09653, allocations: 0 / 446.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.09656, allocations: 42.48 kB / 446.1 MB, free: 12.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.09657, allocations: 4 kB / 446.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003154/0.09689, allocations: 113.6 kB / 446.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.09695, allocations: 115.2 kB / 446.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.09705, allocations: 141.5 kB / 446.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.09706, allocations: 29.7 kB / 446.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.09711, allocations: 92.12 kB / 446.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.09713, allocations: 3.938 kB / 446.6 MB, free: 11.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.09714, allocations: 7.938 kB / 446.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.0972, allocations: 314.8 kB / 446.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.09727, allocations: 19.98 kB / 446.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.834e-05/0.09733, allocations: 51.41 kB / 447 MB, free: 11.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.09746, allocations: 75.28 kB / 447.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.09747, allocations: 0 / 447.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001585/0.09763, allocations: 89.52 kB / 447.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.09766, allocations: 8.875 kB / 447.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.09767, allocations: 4 kB / 447.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.09769, allocations: 0 / 447.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.09777, allocations: 15.98 kB / 447.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.09778, allocations: 0 / 447.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.09783, allocations: 16.05 kB / 447.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.09785, allocations: 8 kB / 447.2 MB, free: 10.92 MB / 298.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[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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.09797, allocations: 121.8 kB / 447.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.09806, allocations: 49.59 kB / 447.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.09809, allocations: 11.83 kB / 447.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.09811, allocations: 7.984 kB / 447.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.09812, allocations: 0 / 447.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.09813, allocations: 4 kB / 447.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.0983, allocations: 177.5 kB / 447.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.09832, allocations: 4.031 kB / 447.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.09837, allocations: 11.98 kB / 447.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.09838, allocations: 0 / 447.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.09839, allocations: 8 kB / 447.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.0984, allocations: 3.938 kB / 447.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0984, allocations: 0 / 447.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.09861, allocations: 275.5 kB / 447.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.09866, allocations: 93 kB / 448 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.09868, allocations: 4 kB / 448 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.09878, allocations: 4 kB / 448 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.09882, allocations: 12.12 kB / 448 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.09883, allocations: 0 / 448 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.784e-05/0.09888, allocations: 107.2 kB / 448.1 MB, free: 9.941 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09889, allocations: 0 / 448.1 MB, free: 9.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002395/0.09913, allocations: 8 kB / 448.1 MB, free: 9.934 MB / 298.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[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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003597/0.0995, allocations: 0.81 MB / 448.9 MB, free: 9.094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.09967, allocations: 55.91 kB / 449 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.09968, allocations: 0 / 449 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.773e-05/0.09974, allocations: 23.98 kB / 449 MB, free: 9.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1001, allocations: 33.34 kB / 449 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1013, allocations: 1.521 MB / 450.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.1014, allocations: 0.7003 MB / 451.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.808e-05/0.1014, allocations: 11.89 kB / 451.2 MB, free: 6.609 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.1015, allocations: 19.44 kB / 451.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1015, allocations: 0 / 451.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01013/0.1116, allocations: 1.48 MB / 452.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/0.1118, allocations: 245.5 kB / 453 MB, free: 4.852 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.753, allocations: 0 / 453 MB, free: 4.852 MB / 298.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