Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_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.001466/0.001465, allocations: 176.7 kB / 8.051 MB, free: 1.023 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.25/2.25, allocations: 205.3 MB / 213.8 MB, free: 13.75 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.001136/0.001135, allocations: 104 kB / 261.8 MB, free: 13.43 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.1107/0.1107, allocations: 12.59 MB / 322.3 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.925e-05, allocations: 4 kB / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 50.37 MB / 429.4 MB, free: 24.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5076/0.6199, allocations: 77.11 MB / 0.4947 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.6203, allocations: 78.67 kB / 0.4947 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00576/0.6261, allocations: 1.603 MB / 0.4963 GB, free: 11.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6261, allocations: 0 / 0.4963 GB, free: 11.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.6262, allocations: 3.844 kB / 0.4963 GB, free: 11.21 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.0003775/0.6266, allocations: 368.3 kB / 0.4966 GB, free: 10.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6266, allocations: 7.625 kB / 0.4967 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.6267, allocations: 15.25 kB / 0.4967 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.6269, allocations: 213.6 kB / 0.4969 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.627, allocations: 3.906 kB / 0.4969 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.627, allocations: 3.844 kB / 0.4969 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000144/0.6271, allocations: 34.41 kB / 0.4969 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.6276, allocations: 191.9 kB / 0.4971 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6276, allocations: 4 kB / 0.4971 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.6276, allocations: 0 / 0.4971 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.6276, allocations: 7.953 kB / 0.4971 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.6278, allocations: 160.5 kB / 0.4973 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.6281, allocations: 115.9 kB / 0.4974 GB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.6282, allocations: 74.11 kB / 0.4974 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.6283, allocations: 0 / 0.4974 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.6283, allocations: 34.41 kB / 0.4975 GB, free: 10.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.774e-06/0.6283, allocations: 0 / 0.4975 GB, free: 10.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002763/0.6286, allocations: 104 kB / 0.4976 GB, free: 10.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.6286, allocations: 59.17 kB / 0.4976 GB, free: 10.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.6288, allocations: 131.5 kB / 0.4978 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.6288, allocations: 25.7 kB / 0.4978 GB, free: 10.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.6289, allocations: 95.69 kB / 0.4979 GB, free: 9.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.6289, allocations: 10.3 kB / 0.4979 GB, free: 9.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.6289, allocations: 3.812 kB / 0.4979 GB, free: 9.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.629, allocations: 323.2 kB / 0.4982 GB, free: 9.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.629, allocations: 17.75 kB / 0.4982 GB, free: 9.648 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.711e-05/0.6291, allocations: 116.7 kB / 0.4983 GB, free: 9.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.6292, allocations: 34.8 kB / 0.4984 GB, free: 9.508 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6292, allocations: 3.844 kB / 0.4984 GB, free: 9.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002466/0.6295, allocations: 129.8 kB / 0.4985 GB, free: 9.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.6295, allocations: 7.688 kB / 0.4985 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.6296, allocations: 3.812 kB / 0.4985 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.6296, allocations: 5.891 kB / 0.4985 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.6298, allocations: 32.89 kB / 0.4985 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.6298, allocations: 10.3 kB / 0.4985 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/0.6299, allocations: 19.67 kB / 0.4986 GB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.6299, allocations: 7.812 kB / 0.4986 GB, free: 9.434 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: 0 () * 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 7.637e-05/0.63, allocations: 114.3 kB / 0.4987 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002163/0.6302, allocations: 103.8 kB / 0.4988 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.6303, allocations: 15.47 kB / 0.4988 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.838e-05/0.6303, allocations: 17.72 kB / 0.4988 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6304, allocations: 0 / 0.4988 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6304, allocations: 3.953 kB / 0.4988 GB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6304, allocations: 3.938 kB / 0.4988 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.6305, allocations: 169.1 kB / 0.499 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6305, allocations: 0 / 0.499 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.6307, allocations: 29.08 kB / 0.499 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6307, allocations: 0 / 0.499 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.6307, allocations: 0 / 0.499 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.6307, allocations: 0 / 0.499 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6308, allocations: 0 / 0.499 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.631, allocations: 140.3 kB / 0.4991 GB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.6311, allocations: 109.6 kB / 0.4992 GB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.6311, allocations: 4 kB / 0.4992 GB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.6312, allocations: 0 / 0.4992 GB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-06/0.6312, allocations: 0 / 0.4992 GB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.6312, allocations: 3.625 kB / 0.4992 GB, free: 8.914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.759e-05/0.6313, allocations: 103.6 kB / 0.4993 GB, free: 8.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6313, allocations: 3.812 kB / 0.4993 GB, free: 8.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000332/0.6316, allocations: 11.47 kB / 0.4994 GB, free: 8.84 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: 0 () * 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.0005341/0.6322, allocations: 0.7216 MB / 0.5001 GB, free: 8.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.6324, allocations: 73.72 kB / 0.5001 GB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6324, allocations: 0 / 0.5001 GB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.6324, allocations: 0 / 0.5001 GB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.6329, allocations: 66.05 kB / 0.5002 GB, free: 8.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006509/0.6336, allocations: 207.2 kB / 0.5004 GB, free: 8.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.6338, allocations: 0.7214 MB / 0.5011 GB, free: 7.375 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.662e-05/0.6338, allocations: 6.844 kB / 0.5011 GB, free: 7.375 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.6339, allocations: 25.2 kB / 0.5011 GB, free: 7.367 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6339, allocations: 0 / 0.5011 GB, free: 7.367 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04287/0.6768, allocations: 1.841 MB / 0.5029 GB, free: 7.223 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.6772, allocations: 169.7 kB / 0.5031 GB, free: 7.035 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.211, allocations: 0 / 0.5031 GB, free: 7.035 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockVectorized.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat