Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_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.0009216/0.0009217, allocations: 176.7 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.432/1.432, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.0008023/0.0008024, allocations: 98.23 kB / 270.3 MB, free: 13.33 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.07199/0.07199, allocations: 12.59 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004512, allocations: 18.12 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.1001, allocations: 50.38 MB / 442.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001409/0.1016, allocations: 1.206 MB / 443.7 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003219/0.1019, allocations: 147.6 kB / 443.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.102, allocations: 4 kB / 443.9 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.761e-05/0.1021, allocations: 7.938 kB / 443.9 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/0.1022, allocations: 7.984 kB / 443.9 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.1025, allocations: 35.84 kB / 443.9 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.226e-05/0.1025, allocations: 39.86 kB / 443.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.1026, allocations: 7.984 kB / 444 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.801e-05/0.1027, allocations: 15.94 kB / 444 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.796e-05/0.1027, allocations: 11.92 kB / 444 MB, free: 9.309 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1027, allocations: 0 / 444 MB, free: 9.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.1028, allocations: 4 kB / 444 MB, free: 9.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.1028, allocations: 19.92 kB / 444 MB, free: 9.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.803e-05/0.1028, allocations: 33.64 kB / 444 MB, free: 9.246 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.563e-05/0.1029, allocations: 40.44 kB / 444.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1029, allocations: 0 / 444.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1029, allocations: 0 / 444.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1029, allocations: 0 / 444.1 MB, free: 9.207 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.0003631/0.1033, allocations: 363.3 kB / 444.4 MB, free: 8.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1033, allocations: 8.031 kB / 444.4 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.1034, allocations: 38.56 kB / 444.5 MB, free: 8.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.1034, allocations: 11.91 kB / 444.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.1036, allocations: 182.9 kB / 444.7 MB, free: 8.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1036, allocations: 3.953 kB / 444.7 MB, free: 8.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.1036, allocations: 11.94 kB / 444.7 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.1038, allocations: 117.9 kB / 444.8 MB, free: 8.367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1038, allocations: 7.922 kB / 444.8 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1039, allocations: 4 kB / 444.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.1039, allocations: 0 / 444.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.824e-05/0.104, allocations: 31.97 kB / 444.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.1043, allocations: 369.8 kB / 445.2 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.1044, allocations: 79.78 kB / 445.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.1045, allocations: 38.62 kB / 445.3 MB, free: 7.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1045, allocations: 0 / 445.3 MB, free: 7.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.1045, allocations: 34.56 kB / 445.3 MB, free: 7.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1045, allocations: 0 / 445.3 MB, free: 7.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.000262/0.1048, allocations: 105.5 kB / 445.5 MB, free: 7.602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1049, allocations: 106.8 kB / 445.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.1049, allocations: 148.6 kB / 445.7 MB, free: 7.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.105, allocations: 25.7 kB / 445.7 MB, free: 7.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.105, allocations: 88.14 kB / 445.8 MB, free: 7.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.546e-06/0.105, allocations: 288 / 445.8 MB, free: 7.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.105, allocations: 4 kB / 445.8 MB, free: 7.191 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.1051, allocations: 326.8 kB / 446.1 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.1051, allocations: 8 kB / 446.1 MB, free: 6.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/0.1052, allocations: 35.42 kB / 446.2 MB, free: 6.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.1052, allocations: 27.92 kB / 446.2 MB, free: 6.781 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1052, allocations: 0 / 446.2 MB, free: 6.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001178/0.1054, allocations: 77.52 kB / 446.3 MB, free: 6.699 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1054, allocations: 4 kB / 446.3 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1054, allocations: 4.125 kB / 446.3 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1054, allocations: 8 kB / 446.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.875e-05/0.1054, allocations: 7.938 kB / 446.3 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1054, allocations: 0 / 446.3 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.1055, allocations: 4 kB / 446.3 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1055, allocations: 7.984 kB / 446.3 MB, free: 6.664 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[1],sample.u[2],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.0001115/0.1056, allocations: 129.5 kB / 446.4 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.1057, allocations: 45.59 kB / 446.5 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.1057, allocations: 19.86 kB / 446.5 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.1057, allocations: 7.984 kB / 446.5 MB, free: 6.449 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1057, allocations: 3.938 kB / 446.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1057, allocations: 0 / 446.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1059, allocations: 173.6 kB / 446.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1059, allocations: 4 kB / 446.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-06/0.1059, allocations: 0 / 446.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1059, allocations: 0 / 446.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1059, allocations: 0 / 446.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1059, allocations: 4 kB / 446.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.106, allocations: 0 / 446.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.1061, allocations: 267.5 kB / 447 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.1062, allocations: 92.97 kB / 447 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1062, allocations: 3.984 kB / 447.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-05/0.1063, allocations: 8 kB / 447.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.1063, allocations: 4 kB / 447.1 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.1063, allocations: 0 / 447.1 MB, free: 5.812 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.347e-05/0.1064, allocations: 107.2 kB / 447.2 MB, free: 5.707 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1064, allocations: 0 / 447.2 MB, free: 5.707 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.1067, allocations: 4 kB / 447.2 MB, free: 5.703 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[1],sample.u[2],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.0003104/0.107, allocations: 0.7984 MB / 448 MB, free: 4.875 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.1071, allocations: 44.11 kB / 448 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1071, allocations: 0 / 448 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.35e-05/0.1072, allocations: 15.98 kB / 448 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1076, allocations: 27.94 kB / 448.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.1083, allocations: 0.5392 MB / 448.6 MB, free: 4.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.1084, allocations: 0.6887 MB / 449.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.531e-05/0.1085, allocations: 11.97 kB / 449.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.1085, allocations: 15.5 kB / 449.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1085, allocations: 0 / 449.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.1204, allocations: 1.469 MB / 450.8 MB, free: 1.98 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.1206, allocations: 228.3 kB / 451 MB, free: 1.742 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.763, allocations: 0 / 451 MB, free: 1.742 MB / 282.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat