Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 103.5 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 55.81 kB / 306.4 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07751/0.07859, allocations: 50.53 MB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002353/0.08098, allocations: 1.589 MB / 358.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003017/0.0813, allocations: 147.5 kB / 358.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.08138, allocations: 4 kB / 358.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.482e-05/0.08147, allocations: 11.92 kB / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.08155, allocations: 3.938 kB / 358.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.08174, allocations: 39.59 kB / 358.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.362e-05/0.08182, allocations: 39.8 kB / 358.7 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.08192, allocations: 19.97 kB / 358.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.08195, allocations: 15.94 kB / 358.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.082, allocations: 23.86 kB / 358.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.08202, allocations: 0 / 358.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.08204, allocations: 4 kB / 358.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.08209, allocations: 7.984 kB / 358.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.08214, allocations: 31.73 kB / 358.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.075e-05/0.08222, allocations: 47.81 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.08223, allocations: 4 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.08224, allocations: 0 / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.08224, allocations: 0 / 358.9 MB, free: 12.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003998/0.08265, allocations: 387.3 kB / 359.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.08269, allocations: 12.02 kB / 359.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.08273, allocations: 38.75 kB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.08276, allocations: 12.78 kB / 359.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.08292, allocations: 192.1 kB / 359.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.08293, allocations: 4.375 kB / 359.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.08295, allocations: 384 / 359.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.0832, allocations: 130.4 kB / 359.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.08322, allocations: 3.938 kB / 359.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.08323, allocations: 3.984 kB / 359.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.381e-05/0.08326, allocations: 4 kB / 359.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.08338, allocations: 35.91 kB / 359.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.08374, allocations: 373.8 kB / 360 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.08387, allocations: 87.77 kB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.002e-05/0.08395, allocations: 34.62 kB / 360.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.08397, allocations: 0 / 360.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.08399, allocations: 38.5 kB / 360.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.084, allocations: 0 / 360.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003078/0.08431, allocations: 109.6 kB / 360.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.08437, allocations: 106.8 kB / 360.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.08447, allocations: 140.4 kB / 360.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.08449, allocations: 29.7 kB / 360.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.08454, allocations: 92.05 kB / 360.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.08456, allocations: 4.219 kB / 360.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.0846, allocations: 33.7 kB / 360.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.338e-05/0.08469, allocations: 318.8 kB / 361 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.08475, allocations: 19.98 kB / 361 MB, free: 9.746 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.08482, allocations: 43.41 kB / 361.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.08495, allocations: 63.28 kB / 361.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.08496, allocations: 0 / 361.1 MB, free: 9.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001489/0.08511, allocations: 81.64 kB / 361.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.08513, allocations: 8 kB / 361.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.08514, allocations: 0 / 361.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.08515, allocations: 4 kB / 361.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.08524, allocations: 11.98 kB / 361.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.08525, allocations: 0 / 361.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.062e-05/0.0853, allocations: 11.92 kB / 361.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.08531, allocations: 4 kB / 361.3 MB, free: 9.492 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001141/0.08543, allocations: 129.7 kB / 361.4 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.08551, allocations: 49.59 kB / 361.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.08554, allocations: 15.83 kB / 361.4 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.08556, allocations: 11.92 kB / 361.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.08557, allocations: 0 / 361.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.08558, allocations: 0 / 361.5 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.08577, allocations: 177.6 kB / 361.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.08578, allocations: 0 / 361.6 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.08583, allocations: 7.984 kB / 361.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.08584, allocations: 4 kB / 361.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.08585, allocations: 32 / 361.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.08586, allocations: 7.938 kB / 361.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.08586, allocations: 0 / 361.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.08608, allocations: 263.5 kB / 361.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.08614, allocations: 97 kB / 362 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.08616, allocations: 4 kB / 362 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.08626, allocations: 4 kB / 362 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.0863, allocations: 3.984 kB / 362 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.08631, allocations: 4 kB / 362 MB, free: 8.621 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.841e-05/0.08637, allocations: 107.2 kB / 362.1 MB, free: 8.516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08638, allocations: 0 / 362.1 MB, free: 8.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000246/0.08663, allocations: 8 kB / 362.1 MB, free: 8.508 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0004349/0.08707, allocations: 0.8061 MB / 362.9 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.08723, allocations: 55.97 kB / 363 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.08724, allocations: 0 / 363 MB, free: 7.617 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.399e-05/0.0873, allocations: 11.98 kB / 363 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.08768, allocations: 38.38 kB / 363 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.08892, allocations: 1.494 MB / 364.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.08914, allocations: 0.6965 MB / 365.2 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.868e-05/0.08919, allocations: 7.984 kB / 365.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.08923, allocations: 15.44 kB / 365.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.08924, allocations: 0 / 365.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.681/0.7702, allocations: 1.527 MB / 366.8 MB, free: 3.848 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.7705, allocations: 235.4 kB / 367 MB, free: 3.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/2.87, allocations: 3.234 kB / 367 MB, free: 3.59 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches