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.002564/0.002564, allocations: 175.3 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.674/1.674, allocations: 205.4 MB / 222 MB, free: 13.83 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.0009717/0.0009721, allocations: 98.16 kB / 270.3 MB, free: 13.35 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.07515/0.07515, allocations: 12.59 MB / 331.2 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 15.22 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09833/0.09876, allocations: 50.38 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001141/0.09996, allocations: 0.5991 MB / 443.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003176/0.1003, allocations: 143.6 kB / 443.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.1004, allocations: 0 / 443.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.121e-05/0.1005, allocations: 11.86 kB / 443.3 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.1006, allocations: 15.91 kB / 443.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.1008, allocations: 39.97 kB / 443.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.089e-05/0.1009, allocations: 63.77 kB / 443.4 MB, free: 9.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.101, allocations: 36.11 kB / 443.4 MB, free: 9.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.925e-05/0.1011, allocations: 15.92 kB / 443.4 MB, free: 9.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.1012, allocations: 31.73 kB / 443.5 MB, free: 9.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1012, allocations: 4 kB / 443.5 MB, free: 9.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.1012, allocations: 0 / 443.5 MB, free: 9.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.817e-05/0.1012, allocations: 27.91 kB / 443.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.1013, allocations: 37.64 kB / 443.5 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.74e-05/0.1014, allocations: 59.89 kB / 443.6 MB, free: 9.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1014, allocations: 4 kB / 443.6 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1014, allocations: 0 / 443.6 MB, free: 9.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1014, allocations: 0 / 443.6 MB, free: 9.746 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004/0.1018, allocations: 395.7 kB / 444 MB, free: 9.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1018, allocations: 12.02 kB / 444 MB, free: 9.301 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.1019, allocations: 38.56 kB / 444 MB, free: 9.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.1019, allocations: 15.81 kB / 444 MB, free: 9.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.1021, allocations: 210.8 kB / 444.2 MB, free: 8.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1021, allocations: 4 kB / 444.2 MB, free: 8.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1021, allocations: 12 kB / 444.3 MB, free: 8.977 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.1025, allocations: 246.7 kB / 444.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1025, allocations: 0 / 444.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1025, allocations: 4 kB / 444.5 MB, free: 8.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1025, allocations: 0 / 444.5 MB, free: 8.719 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.23e-05/0.1026, allocations: 51.97 kB / 444.5 MB, free: 8.668 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.1028, allocations: 189.5 kB / 444.7 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.103, allocations: 150.9 kB / 444.9 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.1031, allocations: 92.69 kB / 445 MB, free: 8.184 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1031, allocations: 4 kB / 445 MB, free: 8.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.1031, allocations: 34.56 kB / 445 MB, free: 8.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.1031, allocations: 0 / 445 MB, free: 8.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002602/0.1034, allocations: 177.7 kB / 445.2 MB, free: 7.957 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1035, allocations: 59.41 kB / 445.2 MB, free: 7.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1036, allocations: 169.9 kB / 445.4 MB, free: 7.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.1036, allocations: 29.7 kB / 445.4 MB, free: 7.672 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.1036, allocations: 88.47 kB / 445.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.1037, allocations: 15.98 kB / 445.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.1037, allocations: 0 / 445.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.1037, allocations: 326.8 kB / 445.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.971e-05/0.1038, allocations: 16 kB / 445.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.1038, allocations: 133.5 kB / 446 MB, free: 7.039 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.1039, allocations: 35.98 kB / 446 MB, free: 7.004 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1039, allocations: 4 kB / 446 MB, free: 7 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001716/0.1041, allocations: 161.3 kB / 446.2 MB, free: 6.836 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1041, allocations: 4 kB / 446.2 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1041, allocations: 4 kB / 446.2 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1041, allocations: 11.95 kB / 446.2 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1042, allocations: 35.92 kB / 446.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1043, allocations: 4 kB / 446.3 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.1043, allocations: 15.83 kB / 446.3 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1043, allocations: 16.34 kB / 446.3 MB, free: 6.746 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.923e-05/0.1044, allocations: 149.5 kB / 446.4 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.1046, allocations: 125.5 kB / 446.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.1046, allocations: 25.17 kB / 446.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1046, allocations: 4 kB / 446.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1046, allocations: 7.953 kB / 446.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1046, allocations: 0 / 446.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.857e-05/0.1047, allocations: 185.5 kB / 446.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1047, allocations: 8 kB / 446.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1048, allocations: 27.92 kB / 446.8 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1048, allocations: 0 / 446.8 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1048, allocations: 11.98 kB / 446.8 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1048, allocations: 0 / 446.8 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1049, allocations: 0 / 446.8 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.105, allocations: 161.5 kB / 447 MB, free: 5.973 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.1051, allocations: 108.9 kB / 447.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1051, allocations: 4 kB / 447.1 MB, free: 5.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.138e-05/0.1051, allocations: 7.984 kB / 447.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-06/0.1051, allocations: 7.938 kB / 447.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.1051, allocations: 0 / 447.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.208e-05/0.1052, allocations: 119.2 kB / 447.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1052, allocations: 0 / 447.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.1054, allocations: 19.95 kB / 447.2 MB, free: 5.691 MB / 282.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 (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.0004133/0.1058, allocations: 0.7711 MB / 448 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.106, allocations: 96.77 kB / 448.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.106, allocations: 0 / 448.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.106, allocations: 0 / 448.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1064, allocations: 101.1 kB / 448.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007532/0.1071, allocations: 0.7788 MB / 449 MB, free: 3.832 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.1073, allocations: 0.72 MB / 449.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.346e-05/0.1073, allocations: 9.078 kB / 449.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.1073, allocations: 35.42 kB / 449.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1074, allocations: 0 / 449.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.1206, allocations: 2.294 MB / 452 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/0.1208, allocations: 234.5 kB / 452.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.683, allocations: 0 / 452.3 MB, free: 0.5039 MB / 282.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