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.001668/0.001671, allocations: 187.1 kB / 15.81 MB, free: 6.027 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.26/2.26, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001197/0.001198, allocations: 90.91 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1009/0.1009, allocations: 12.59 MB / 331.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005597/0.0005599, allocations: 14.41 kB / 392.1 MB, free: 54.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.0987, allocations: 50.38 MB / 442.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001839/0.1006, allocations: 1.22 MB / 443.7 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003964/0.1011, allocations: 140.4 kB / 443.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.573e-05/0.1012, allocations: 7.938 kB / 443.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.388e-05/0.1013, allocations: 11.97 kB / 443.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.879e-05/0.1014, allocations: 7.938 kB / 443.9 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1016, allocations: 27.97 kB / 443.9 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.522e-05/0.1017, allocations: 27.91 kB / 443.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1019, allocations: 15.97 kB / 443.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.1019, allocations: 11.94 kB / 443.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.102, allocations: 15.92 kB / 444 MB, free: 9.305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.102, allocations: 3.938 kB / 444 MB, free: 9.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.102, allocations: 4 kB / 444 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.909e-05/0.102, allocations: 15.94 kB / 444 MB, free: 9.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.1021, allocations: 33.64 kB / 444 MB, free: 9.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.073e-05/0.1022, allocations: 39.92 kB / 444.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1022, allocations: 0 / 444.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1022, allocations: 0 / 444.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1022, allocations: 0 / 444.1 MB, free: 9.203 MB / 282.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.0004627/0.1027, allocations: 379.8 kB / 444.4 MB, free: 8.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1027, allocations: 12.03 kB / 444.4 MB, free: 8.773 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.1028, allocations: 34.56 kB / 444.5 MB, free: 8.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.1028, allocations: 7.906 kB / 444.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.103, allocations: 198.8 kB / 444.7 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.103, allocations: 7.938 kB / 444.7 MB, free: 8.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.1031, allocations: 4 kB / 444.7 MB, free: 8.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.1034, allocations: 125.9 kB / 444.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1034, allocations: 0 / 444.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1035, allocations: 0 / 444.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.1035, allocations: 4 kB / 444.8 MB, free: 8.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.1037, allocations: 51.91 kB / 444.9 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.1042, allocations: 373.8 kB / 445.2 MB, free: 7.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1044, allocations: 87.78 kB / 445.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1044, allocations: 4.062 kB / 445.3 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.1044, allocations: 34.56 kB / 445.4 MB, free: 7.695 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.314e-06/0.1044, allocations: 0 / 445.4 MB, free: 7.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005612/0.105, allocations: 202.9 kB / 445.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1051, allocations: 106.8 kB / 445.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1052, allocations: 149.5 kB / 445.8 MB, free: 7.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1052, allocations: 25.7 kB / 445.8 MB, free: 7.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.1053, allocations: 92.12 kB / 445.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.1053, allocations: 7.906 kB / 445.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.1053, allocations: 0 / 445.9 MB, free: 7.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.141e-05/0.1054, allocations: 314.8 kB / 446.2 MB, free: 6.738 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.1055, allocations: 23.98 kB / 446.3 MB, free: 6.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1056, allocations: 43.41 kB / 446.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1058, allocations: 27.98 kB / 446.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1058, allocations: 0 / 446.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002829/0.1061, allocations: 89.55 kB / 446.4 MB, free: 6.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1061, allocations: 8.125 kB / 446.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1061, allocations: 0 / 446.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.1062, allocations: 4 kB / 446.4 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1063, allocations: 11.98 kB / 446.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1063, allocations: 4 kB / 446.4 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/0.1064, allocations: 11.94 kB / 446.5 MB, free: 6.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1064, allocations: 4 kB / 446.5 MB, free: 6.496 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.1066, allocations: 129.6 kB / 446.6 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.1067, allocations: 57.53 kB / 446.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.1067, allocations: 11.83 kB / 446.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.1068, allocations: 7.984 kB / 446.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/0.1068, allocations: 0 / 446.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1068, allocations: 0 / 446.7 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.107, allocations: 185.5 kB / 446.8 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1071, allocations: 0 / 446.8 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.1072, allocations: 11.98 kB / 446.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1072, allocations: 4.031 kB / 446.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1072, allocations: 0 / 446.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1072, allocations: 4 kB / 446.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1072, allocations: 0 / 446.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.1075, allocations: 302.9 kB / 447.2 MB, free: 5.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.1076, allocations: 93 kB / 447.2 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.1076, allocations: 0 / 447.2 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.1078, allocations: 8.141 kB / 447.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.1079, allocations: 11.92 kB / 447.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1079, allocations: 8 kB / 447.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.156e-05/0.108, allocations: 107.2 kB / 447.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.108, allocations: 0 / 447.4 MB, free: 5.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003961/0.1084, allocations: 7.938 kB / 447.4 MB, free: 5.449 MB / 282.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 (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.0005938/0.109, allocations: 0.9627 MB / 448.3 MB, free: 4.449 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.1094, allocations: 55.91 kB / 448.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1094, allocations: 0 / 448.4 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.1096, allocations: 19.98 kB / 448.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.111, allocations: 32.2 kB / 448.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.1125, allocations: 0.9983 MB / 449.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.1128, allocations: 0.7081 MB / 450.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.489e-05/0.1128, allocations: 7.984 kB / 450.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.1129, allocations: 15.5 kB / 450.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1129, allocations: 0 / 450.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.1396, allocations: 1.463 MB / 451.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.1399, allocations: 225.7 kB / 451.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/2.588, allocations: 0 / 451.9 MB, free: 0.8242 MB / 282.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