Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, allocations: 96.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 206.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002414/0.0002414, allocations: 4 kB / 306.7 MB, free: 1.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1154, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.001459/0.1169, allocations: 0.7243 MB / 358.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003351/0.1173, allocations: 131.6 kB / 359.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.742e-05/0.1174, allocations: 4 kB / 359.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.623e-05/0.1175, allocations: 11.92 kB / 359.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1176, allocations: 11.92 kB / 359.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1178, allocations: 39.95 kB / 359.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.118, allocations: 35.91 kB / 359.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.1181, allocations: 48.06 kB / 359.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.345e-05/0.1182, allocations: 11.88 kB / 359.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.1182, allocations: 23.86 kB / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1182, allocations: 0 / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.1183, allocations: 7.938 kB / 359.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.1183, allocations: 19.92 kB / 359.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.1184, allocations: 37.64 kB / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.515e-05/0.1185, allocations: 59.88 kB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1185, allocations: 0 / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1185, allocations: 0 / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1185, allocations: 0 / 359.4 MB, free: 12.61 MB / 302.1 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.0005708/0.1191, allocations: 391.2 kB / 359.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1191, allocations: 12.03 kB / 359.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.1192, allocations: 38.56 kB / 359.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.1193, allocations: 7.906 kB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1195, allocations: 214.3 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1196, allocations: 7.953 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.1196, allocations: 8 kB / 360 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.1201, allocations: 221.3 kB / 360.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1201, allocations: 3.984 kB / 360.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1201, allocations: 7.891 kB / 360.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1201, allocations: 4 kB / 360.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.1202, allocations: 31.98 kB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.1204, allocations: 193.5 kB / 360.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.1206, allocations: 126.9 kB / 360.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.1207, allocations: 3.984 kB / 360.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1207, allocations: 34.56 kB / 360.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 3.417e-06/0.1207, allocations: 4 kB / 360.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002774/0.121, allocations: 148 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.1211, allocations: 67.58 kB / 360.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1212, allocations: 143 kB / 361 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1212, allocations: 29.7 kB / 361 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.1213, allocations: 88.47 kB / 361.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1213, allocations: 11.92 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.1213, allocations: 8 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1215, allocations: 318.8 kB / 361.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.517e-05/0.1216, allocations: 23.98 kB / 361.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1217, allocations: 109.7 kB / 361.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.758e-05/0.1218, allocations: 43.92 kB / 361.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1218, allocations: 4 kB / 361.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002043/0.122, allocations: 153.7 kB / 361.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.122, allocations: 18.44 kB / 361.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.122, allocations: 4 kB / 361.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1221, allocations: 7.938 kB / 361.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.1222, allocations: 27.98 kB / 361.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.1222, allocations: 11.89 kB / 361.8 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.1223, allocations: 12 kB / 361.8 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1223, allocations: 8 kB / 361.9 MB, free: 9.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * 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 0.0001377/0.1224, allocations: 133.7 kB / 362 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.1226, allocations: 125.4 kB / 362.1 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.305e-05/0.1227, allocations: 17.17 kB / 362.1 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1227, allocations: 4 kB / 362.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1227, allocations: 3.938 kB / 362.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1227, allocations: 3.953 kB / 362.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.1229, allocations: 189.5 kB / 362.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1229, allocations: 0 / 362.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.123, allocations: 27.92 kB / 362.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.123, allocations: 0 / 362.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.123, allocations: 4 kB / 362.4 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.123, allocations: 4 kB / 362.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.123, allocations: 4 kB / 362.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.1232, allocations: 147.2 kB / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/0.1233, allocations: 104.9 kB / 362.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.1233, allocations: 0 / 362.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.884e-05/0.1234, allocations: 8 kB / 362.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-06/0.1234, allocations: 0 / 362.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1234, allocations: 4 kB / 362.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.843e-05/0.1235, allocations: 123.4 kB / 362.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1235, allocations: 0 / 362.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1237, allocations: 16 kB / 362.8 MB, free: 8.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0006015/0.1243, allocations: 0.7367 MB / 363.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1245, allocations: 98.64 kB / 363.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1245, allocations: 0 / 363.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-07/0.1245, allocations: 0 / 363.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1249, allocations: 67.95 kB / 363.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.1271, allocations: 2.963 MB / 366.6 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1274, allocations: 0.7243 MB / 367.3 MB, free: 4.074 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.647e-05/0.1275, allocations: 12.44 kB / 367.4 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.1276, allocations: 27.61 kB / 367.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1276, allocations: 0 / 367.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.1404, allocations: 2.15 MB / 369.5 MB, free: 2.055 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.1406, allocations: 207.8 kB / 369.7 MB, free: 1.816 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.097, allocations: 0 / 369.7 MB, free: 1.816 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat