Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",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.001501/0.001501, allocations: 178.1 kB / 8.047 MB, free: 1.02 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.001161/0.001161, allocations: 95.17 kB / 261.8 MB, free: 13.45 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.1678/0.1678, allocations: 12.58 MB / 322.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.118e-05, allocations: 0 / 379 MB, free: 75.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 50.38 MB / 429.4 MB, free: 24.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.5508, allocations: 77.2 MB / 0.4947 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5511, allocations: 72.41 kB / 0.4948 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005308/0.5565, allocations: 1.56 MB / 0.4963 GB, free: 11.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5565, allocations: 0 / 0.4963 GB, free: 11.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.5566, allocations: 4 kB / 0.4963 GB, free: 11.25 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003724/0.5569, allocations: 367 kB / 0.4967 GB, free: 10.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.557, allocations: 7.844 kB / 0.4967 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.5571, allocations: 7.719 kB / 0.4967 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.5573, allocations: 201.6 kB / 0.4969 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5573, allocations: 0 / 0.4969 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.5574, allocations: 7.719 kB / 0.4969 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001522/0.5575, allocations: 30.47 kB / 0.4969 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.558, allocations: 201.9 kB / 0.4971 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.558, allocations: 0 / 0.4971 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.558, allocations: 0 / 0.4971 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.558, allocations: 7.891 kB / 0.4971 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.5582, allocations: 154.5 kB / 0.4973 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.5585, allocations: 110.5 kB / 0.4974 GB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.5586, allocations: 66.06 kB / 0.4974 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.5587, allocations: 7.812 kB / 0.4975 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.5587, allocations: 37.88 kB / 0.4975 GB, free: 10.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.5587, allocations: 0 / 0.4975 GB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002827/0.559, allocations: 110.9 kB / 0.4976 GB, free: 10.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.5591, allocations: 59.33 kB / 0.4977 GB, free: 10.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.5592, allocations: 131.3 kB / 0.4978 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.5592, allocations: 25.7 kB / 0.4978 GB, free: 10.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.5593, allocations: 86.89 kB / 0.4979 GB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.5593, allocations: 14.27 kB / 0.4979 GB, free: 10.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.5593, allocations: 3.938 kB / 0.4979 GB, free: 10.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.237e-05/0.5594, allocations: 325.1 kB / 0.4982 GB, free: 9.723 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.5594, allocations: 14.38 kB / 0.4982 GB, free: 9.723 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.375e-05/0.5596, allocations: 111.8 kB / 0.4983 GB, free: 9.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.5596, allocations: 39.44 kB / 0.4984 GB, free: 9.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5597, allocations: 0 / 0.4984 GB, free: 9.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002499/0.5599, allocations: 131.6 kB / 0.4985 GB, free: 9.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.56, allocations: 7.625 kB / 0.4985 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.56, allocations: 3.812 kB / 0.4985 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.56, allocations: 6.969 kB / 0.4985 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.111e-05/0.5601, allocations: 11.62 kB / 0.4985 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5601, allocations: 3.875 kB / 0.4985 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.09e-05/0.5602, allocations: 7.797 kB / 0.4985 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.5602, allocations: 10.67 kB / 0.4985 GB, free: 9.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001041/0.5603, allocations: 126.5 kB / 0.4987 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002036/0.5605, allocations: 104.9 kB / 0.4988 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.5606, allocations: 11.56 kB / 0.4988 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.5606, allocations: 8.5 kB / 0.4988 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.5607, allocations: 3.844 kB / 0.4988 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.5607, allocations: 9.266 kB / 0.4988 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5607, allocations: 0 / 0.4988 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.5608, allocations: 152.1 kB / 0.4989 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5608, allocations: 3.938 kB / 0.4989 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.5609, allocations: 10.92 kB / 0.499 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5609, allocations: 0 / 0.499 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.5609, allocations: 0 / 0.499 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5609, allocations: 3.875 kB / 0.499 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.5609, allocations: 0 / 0.499 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.5612, allocations: 144.1 kB / 0.4991 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.5613, allocations: 94.92 kB / 0.4992 GB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.5613, allocations: 5.938 kB / 0.4992 GB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.5613, allocations: 7.938 kB / 0.4992 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-06/0.5614, allocations: 0 / 0.4992 GB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.5614, allocations: 3.969 kB / 0.4992 GB, free: 9.008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.778e-05/0.5615, allocations: 103.2 kB / 0.4993 GB, free: 8.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5615, allocations: 3.938 kB / 0.4993 GB, free: 8.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.5618, allocations: 11.31 kB / 0.4993 GB, free: 8.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0005769/0.5624, allocations: 0.7254 MB / 0.5 GB, free: 8.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.5627, allocations: 80.56 kB / 0.5001 GB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5627, allocations: 0 / 0.5001 GB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.5627, allocations: 3.844 kB / 0.5001 GB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.5631, allocations: 69.56 kB / 0.5002 GB, free: 8.297 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.5637, allocations: 198.6 kB / 0.5004 GB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.5639, allocations: 0.7169 MB / 0.5011 GB, free: 7.465 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.693e-05/0.564, allocations: 7.875 kB / 0.5011 GB, free: 7.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.5641, allocations: 25.75 kB / 0.5011 GB, free: 7.461 MB / 330.7 MB Notification: Performance of SimCode: time 1.243e-06/0.5641, allocations: 0 / 0.5011 GB, free: 7.461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04548/0.6096, allocations: 1.785 MB / 0.5028 GB, free: 7.324 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/0.6099, allocations: 186.4 kB / 0.503 GB, free: 7.125 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/2.998, allocations: 0 / 0.503 GB, free: 7.125 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat