Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_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.001116/0.001116, allocations: 169.8 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.498/1.498, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.000866/0.0008657, allocations: 86.36 kB / 270.7 MB, free: 8.242 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.08076/0.08076, allocations: 12.6 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003859, allocations: 12 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09652, allocations: 50.38 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001353/0.09793, allocations: 0.6131 MB / 443.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004145/0.09838, allocations: 139.6 kB / 443.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.09853, allocations: 4 kB / 443.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.09865, allocations: 11.92 kB / 443.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.09882, allocations: 11.92 kB / 443.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.09912, allocations: 39.91 kB / 444 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.09926, allocations: 67.77 kB / 444 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.09942, allocations: 39.98 kB / 444.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.207e-05/0.09947, allocations: 19.86 kB / 444.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.768e-05/0.09957, allocations: 31.84 kB / 444.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.0996, allocations: 4 kB / 444.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.09962, allocations: 4 kB / 444.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.09969, allocations: 19.92 kB / 444.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.09976, allocations: 65.38 kB / 444.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.09989, allocations: 83.62 kB / 444.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.09991, allocations: 0 / 444.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.09992, allocations: 0 / 444.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.09993, allocations: 0 / 444.3 MB, free: 14.17 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.0004851/0.1004, allocations: 399.2 kB / 444.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1005, allocations: 8.031 kB / 444.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.1005, allocations: 46.73 kB / 444.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.1006, allocations: 28.69 kB / 444.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.1008, allocations: 204.1 kB / 445 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1008, allocations: 4.375 kB / 445 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1008, allocations: 8.375 kB / 445 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.1013, allocations: 251.3 kB / 445.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1013, allocations: 3.938 kB / 445.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1013, allocations: 4 kB / 445.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1013, allocations: 7.938 kB / 445.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.1014, allocations: 43.97 kB / 445.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.1016, allocations: 193.5 kB / 445.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1018, allocations: 148.3 kB / 445.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1019, allocations: 84.91 kB / 445.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1019, allocations: 11.92 kB / 445.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.102, allocations: 34.56 kB / 445.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.102, allocations: 0 / 445.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003088/0.1023, allocations: 173.6 kB / 445.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.1024, allocations: 67.39 kB / 446 MB, free: 12.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1025, allocations: 169.9 kB / 446.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.1025, allocations: 25.7 kB / 446.2 MB, free: 12.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.1026, allocations: 96.45 kB / 446.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.1026, allocations: 11.91 kB / 446.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1026, allocations: 4 kB / 446.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.561e-05/0.1027, allocations: 322.8 kB / 446.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.1027, allocations: 23.92 kB / 446.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.1028, allocations: 121.7 kB / 446.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.103, allocations: 153.5 kB / 446.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.103, allocations: 0 / 446.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001928/0.1032, allocations: 161.2 kB / 447 MB, free: 11.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1032, allocations: 11.94 kB / 447.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1032, allocations: 4 kB / 447.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1032, allocations: 4.5 kB / 447.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1033, allocations: 31.92 kB / 447.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1034, allocations: 15.94 kB / 447.1 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.1034, allocations: 19.83 kB / 447.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1035, allocations: 8 kB / 447.1 MB, free: 10.99 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001159/0.1036, allocations: 141.8 kB / 447.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.1037, allocations: 137.4 kB / 447.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.1038, allocations: 21.17 kB / 447.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1038, allocations: 0 / 447.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1038, allocations: 7.938 kB / 447.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1038, allocations: 0 / 447.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.318e-05/0.1039, allocations: 189.6 kB / 447.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1039, allocations: 3.938 kB / 447.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.104, allocations: 27.98 kB / 447.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.104, allocations: 3.938 kB / 447.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.104, allocations: 3.984 kB / 447.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1041, allocations: 0 / 447.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1041, allocations: 4 kB / 447.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.1042, allocations: 168.8 kB / 447.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/0.1043, allocations: 104.9 kB / 447.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1043, allocations: 7.938 kB / 447.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.376e-05/0.1044, allocations: 7.984 kB / 447.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-06/0.1044, allocations: 0 / 447.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1044, allocations: 8 kB / 448 MB, free: 10.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.922e-05/0.1044, allocations: 115.2 kB / 448.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1044, allocations: 0 / 448.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.1047, allocations: 16 kB / 448.1 MB, free: 9.938 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0004376/0.1051, allocations: 0.775 MB / 448.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.1053, allocations: 104.6 kB / 449 MB, free: 9.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1053, allocations: 0 / 449 MB, free: 9.031 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.1053, allocations: 3.938 kB / 449 MB, free: 9.027 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.1057, allocations: 89.44 kB / 449 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.1071, allocations: 1.734 MB / 450.8 MB, free: 7.031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.1073, allocations: 0.7162 MB / 451.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.973e-05/0.1073, allocations: 9.094 kB / 451.5 MB, free: 6.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.1074, allocations: 35.42 kB / 451.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1074, allocations: 0 / 451.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.1209, allocations: 2.335 MB / 453.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.1211, allocations: 243.1 kB / 454.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.798, allocations: 0 / 454.1 MB, free: 3.641 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat