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.001091/0.00109, allocations: 173.5 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.493/1.493, allocations: 205.4 MB / 222.3 MB, free: 9.027 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.0008531/0.0008531, allocations: 90.36 kB / 270.7 MB, free: 8.246 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.08945/0.08945, allocations: 12.6 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004928, allocations: 15.98 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09674/0.09727, allocations: 50.37 MB / 443.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001491/0.09881, allocations: 0.6255 MB / 443.8 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004129/0.09926, allocations: 131.6 kB / 443.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.09942, allocations: 4 kB / 443.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.09955, allocations: 3.938 kB / 443.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.09966, allocations: 11.92 kB / 443.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.09995, allocations: 43.97 kB / 444 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.1001, allocations: 55.84 kB / 444 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.1003, allocations: 48.36 kB / 444.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.1003, allocations: 19.92 kB / 444.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.1004, allocations: 23.78 kB / 444.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1004, allocations: 4 kB / 444.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.1004, allocations: 4 kB / 444.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1006, allocations: 19.92 kB / 444.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.1007, allocations: 57.44 kB / 444.2 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1008, allocations: 71.7 kB / 444.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1008, allocations: 0 / 444.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1008, allocations: 0 / 444.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1008, allocations: 0 / 444.2 MB, free: 14.21 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004693/0.1013, allocations: 375.2 kB / 444.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.1014, allocations: 8.031 kB / 444.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.98e-05/0.1015, allocations: 42.75 kB / 444.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.1015, allocations: 20.67 kB / 444.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1018, allocations: 196.8 kB / 444.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1018, allocations: 8.375 kB / 444.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.1018, allocations: 8.375 kB / 444.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.1023, allocations: 231.4 kB / 445.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1023, allocations: 7.875 kB / 445.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1023, allocations: 0 / 445.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1023, allocations: 4 kB / 445.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.541e-05/0.1024, allocations: 39.97 kB / 445.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.1026, allocations: 185.6 kB / 445.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.1028, allocations: 128.4 kB / 445.5 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1029, allocations: 80.83 kB / 445.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.103, allocations: 0 / 445.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.103, allocations: 34.56 kB / 445.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.103, allocations: 0 / 445.6 MB, free: 12.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002881/0.1033, allocations: 165.2 kB / 445.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1034, allocations: 59.41 kB / 445.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.1035, allocations: 151.8 kB / 446 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1035, allocations: 29.7 kB / 446 MB, free: 12.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.1036, allocations: 88.45 kB / 446.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1036, allocations: 11.98 kB / 446.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.1036, allocations: 0 / 446.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.1037, allocations: 326.8 kB / 446.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/0.1037, allocations: 23.98 kB / 446.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.1038, allocations: 112.2 kB / 446.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1039, allocations: 157.5 kB / 446.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1039, allocations: 0 / 446.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001886/0.1041, allocations: 153.2 kB / 446.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1041, allocations: 11.94 kB / 446.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1042, allocations: 4 kB / 446.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1042, allocations: 4 kB / 446.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.739e-05/0.1042, allocations: 16.42 kB / 446.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1042, allocations: 11.94 kB / 446.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.1043, allocations: 15.84 kB / 446.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1043, allocations: 8 kB / 446.9 MB, free: 11.21 MB / 298.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 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.1044, allocations: 138.7 kB / 447 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.1046, allocations: 125.4 kB / 447.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.1046, allocations: 17.19 kB / 447.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1046, allocations: 0 / 447.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1046, allocations: 11.94 kB / 447.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1047, allocations: 0 / 447.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.448e-05/0.1048, allocations: 185.5 kB / 447.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1048, allocations: 0 / 447.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/0.1048, allocations: 0 / 447.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1048, allocations: 7.938 kB / 447.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.1048, allocations: 3.984 kB / 447.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1048, allocations: 0 / 447.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1048, allocations: 0 / 447.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.105, allocations: 152.9 kB / 447.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.105, allocations: 112.8 kB / 447.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1051, allocations: 7.984 kB / 447.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.1051, allocations: 0 / 447.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-06/0.1051, allocations: 4 kB / 447.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.1051, allocations: 4 kB / 447.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.813e-05/0.1052, allocations: 103.3 kB / 447.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1052, allocations: 0 / 447.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002195/0.1054, allocations: 20 kB / 447.8 MB, free: 10.24 MB / 298.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 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * 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 (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.0004604/0.1059, allocations: 0.738 MB / 448.5 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.106, allocations: 96.72 kB / 448.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.106, allocations: 8.062 kB / 448.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.1061, allocations: 0 / 448.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.1065, allocations: 80.08 kB / 448.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.108, allocations: 1.641 MB / 450.3 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.1082, allocations: 0.7126 MB / 451.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.706e-05/0.1082, allocations: 4.656 kB / 451.1 MB, free: 6.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.1083, allocations: 31.42 kB / 451.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of SimCode: time 5.72e-07/0.1083, allocations: 0 / 451.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.1207, allocations: 2.16 MB / 453.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.1208, allocations: 247.1 kB / 453.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.737, allocations: 0 / 453.5 MB, free: 4.266 MB / 298.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