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.002307/0.002306, allocations: 184.4 kB / 15.81 MB, free: 6.348 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.296/2.296, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001779/0.001779, allocations: 90.8 kB / 270.3 MB, free: 13.37 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.1066/0.1066, allocations: 12.59 MB / 331.1 MB, free: 10.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005703/0.0005705, allocations: 17.97 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09372/0.09434, allocations: 50.37 MB / 442.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001816/0.09621, allocations: 1.208 MB / 443.7 MB, free: 9.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004094/0.09668, allocations: 152.4 kB / 443.8 MB, free: 9.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.461e-05/0.09678, allocations: 0 / 443.8 MB, free: 9.488 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.093e-05/0.09688, allocations: 3.938 kB / 443.8 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.245e-05/0.09697, allocations: 7.984 kB / 443.8 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.09725, allocations: 37.64 kB / 443.9 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.09735, allocations: 19.98 kB / 443.9 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.09747, allocations: 11.98 kB / 443.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.09751, allocations: 15.92 kB / 443.9 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.09756, allocations: 15.94 kB / 443.9 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.09759, allocations: 3.938 kB / 443.9 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.09761, allocations: 0 / 443.9 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.09766, allocations: 19.91 kB / 444 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.0977, allocations: 33.64 kB / 444 MB, free: 9.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.594e-05/0.09779, allocations: 32.52 kB / 444 MB, free: 9.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.09781, allocations: 3.938 kB / 444 MB, free: 9.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09782, allocations: 0 / 444 MB, free: 9.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.09783, allocations: 0 / 444 MB, free: 9.281 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.0004485/0.09829, allocations: 367.3 kB / 444.4 MB, free: 8.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.09835, allocations: 12.02 kB / 444.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.09839, allocations: 34.56 kB / 444.4 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.09843, allocations: 7.906 kB / 444.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.09864, allocations: 190.9 kB / 444.6 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.09868, allocations: 3.953 kB / 444.6 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.0987, allocations: 7.984 kB / 444.6 MB, free: 8.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.09904, allocations: 125.9 kB / 444.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.09907, allocations: 0 / 444.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.09909, allocations: 3.984 kB / 444.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.09913, allocations: 4 kB / 444.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.0993, allocations: 31.92 kB / 444.8 MB, free: 8.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.09973, allocations: 373.8 kB / 445.2 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.09989, allocations: 79.84 kB / 445.2 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.09992, allocations: 0 / 445.2 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.09995, allocations: 30.56 kB / 445.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.09996, allocations: 0 / 445.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004237/0.1004, allocations: 186.6 kB / 445.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.1005, allocations: 110.8 kB / 445.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1006, allocations: 144.6 kB / 445.7 MB, free: 7.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.1006, allocations: 25.7 kB / 445.7 MB, free: 7.301 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.1007, allocations: 84.14 kB / 445.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.1007, allocations: 12.28 kB / 445.8 MB, free: 7.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.1007, allocations: 0 / 445.8 MB, free: 7.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.973e-05/0.1008, allocations: 318.8 kB / 446.1 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.46e-05/0.1009, allocations: 12 kB / 446.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.377e-05/0.101, allocations: 39.42 kB / 446.2 MB, free: 6.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.1011, allocations: 27.92 kB / 446.2 MB, free: 6.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1011, allocations: 0 / 446.2 MB, free: 6.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002173/0.1013, allocations: 73.52 kB / 446.3 MB, free: 6.715 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1013, allocations: 8 kB / 446.3 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1014, allocations: 4.125 kB / 446.3 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1014, allocations: 0 / 446.3 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.726e-05/0.1014, allocations: 4 kB / 446.3 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1014, allocations: 0 / 446.3 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.1015, allocations: 11.94 kB / 446.3 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1015, allocations: 0 / 446.3 MB, free: 6.688 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.0001379/0.1017, allocations: 137.5 kB / 446.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1018, allocations: 49.59 kB / 446.5 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.1018, allocations: 19.86 kB / 446.5 MB, free: 6.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.1019, allocations: 4 kB / 446.5 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1019, allocations: 0 / 446.5 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1019, allocations: 3.984 kB / 446.5 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.1022, allocations: 173.6 kB / 446.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1022, allocations: 0 / 446.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/0.1022, allocations: 0 / 446.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1022, allocations: 4 kB / 446.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.1022, allocations: 3.938 kB / 446.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1022, allocations: 0 / 446.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1023, allocations: 8 kB / 446.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1025, allocations: 278.9 kB / 447 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.1026, allocations: 101 kB / 447.1 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.1026, allocations: 3.984 kB / 447.1 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1028, allocations: 4 kB / 447.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.1028, allocations: 0 / 447.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.1029, allocations: 4.141 kB / 447.1 MB, free: 5.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.762e-05/0.1029, allocations: 107.2 kB / 447.2 MB, free: 5.688 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.103, allocations: 0 / 447.2 MB, free: 5.688 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003807/0.1033, allocations: 4 kB / 447.2 MB, free: 5.684 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.0005154/0.1039, allocations: 0.9626 MB / 448.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1041, allocations: 39.92 kB / 448.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1041, allocations: 0 / 448.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.1042, allocations: 19.98 kB / 448.2 MB, free: 4.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.1046, allocations: 36.14 kB / 448.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1058, allocations: 0.9633 MB / 449.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.1059, allocations: 0.6966 MB / 449.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.622e-05/0.106, allocations: 11.98 kB / 449.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.1061, allocations: 11.44 kB / 449.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of SimCode: time 2.234e-06/0.1061, allocations: 0 / 449.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.1306, allocations: 1.454 MB / 451.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003686/0.131, allocations: 217.8 kB / 451.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/2.641, allocations: 8.062 kB / 451.6 MB, free: 1.121 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