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.001137/0.001137, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.0012, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.3 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08776, allocations: 50.54 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002856/0.09066, allocations: 1.52 MB / 359.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003611/0.09104, allocations: 143.5 kB / 359.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.09114, allocations: 7.938 kB / 359.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.562e-05/0.09125, allocations: 3.938 kB / 359.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.871e-05/0.09135, allocations: 15.92 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.0916, allocations: 35.84 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.786e-05/0.0917, allocations: 43.84 kB / 359.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.09183, allocations: 19.97 kB / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.053e-05/0.09188, allocations: 19.92 kB / 359.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.09193, allocations: 19.86 kB / 359.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.09196, allocations: 4 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.09198, allocations: 4 kB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.09204, allocations: 12 kB / 359.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.09209, allocations: 31.73 kB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.0922, allocations: 47.81 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.09222, allocations: 4 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09222, allocations: 0 / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.09223, allocations: 0 / 359.5 MB, free: 12.07 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.0004594/0.0927, allocations: 387.3 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.09275, allocations: 8.031 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.0928, allocations: 46.69 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.09284, allocations: 8.844 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.09303, allocations: 192.2 kB / 360.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.09305, allocations: 4.375 kB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.09307, allocations: 384 / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.09336, allocations: 130.4 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.09338, allocations: 3.938 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.0934, allocations: 0 / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.09343, allocations: 7.984 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.09356, allocations: 35.91 kB / 360.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.09401, allocations: 369.8 kB / 360.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.09416, allocations: 79.78 kB / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.007e-05/0.09425, allocations: 42.61 kB / 360.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.09427, allocations: 3.938 kB / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.0943, allocations: 34.56 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.0943, allocations: 0 / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003498/0.09466, allocations: 109.8 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.09472, allocations: 106.8 kB / 361.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.09484, allocations: 140.2 kB / 361.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.09486, allocations: 29.7 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.09492, allocations: 96.03 kB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.09494, allocations: 0 / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.09498, allocations: 25.66 kB / 361.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.09507, allocations: 322.9 kB / 361.7 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.09514, allocations: 15.98 kB / 361.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.09521, allocations: 39.42 kB / 361.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.09535, allocations: 63.28 kB / 361.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.09536, allocations: 0 / 361.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001689/0.09553, allocations: 85.5 kB / 361.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.09555, allocations: 4 kB / 361.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.09556, allocations: 0 / 361.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.09558, allocations: 8.125 kB / 361.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.09566, allocations: 11.98 kB / 361.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.09567, allocations: 3.938 kB / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.09572, allocations: 4 kB / 361.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.09573, allocations: 4 kB / 361.9 MB, free: 9.379 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.0001297/0.09587, allocations: 137.7 kB / 362 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.09595, allocations: 41.61 kB / 362.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.09599, allocations: 27.84 kB / 362.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.09601, allocations: 8.078 kB / 362.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.09602, allocations: 0 / 362.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.09603, allocations: 0 / 362.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.09624, allocations: 177.6 kB / 362.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.09625, allocations: 7.922 kB / 362.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.0963, allocations: 4 kB / 362.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.09631, allocations: 7.938 kB / 362.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.09632, allocations: 0 / 362.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.09633, allocations: 0 / 362.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.09634, allocations: 0 / 362.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.09657, allocations: 267.5 kB / 362.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.09665, allocations: 97 kB / 362.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.09667, allocations: 0 / 362.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.09678, allocations: 7.984 kB / 362.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.09681, allocations: 4 kB / 362.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.09683, allocations: 4 kB / 362.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.98e-05/0.0969, allocations: 113.6 kB / 362.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09691, allocations: 0 / 362.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000269/0.09718, allocations: 8 kB / 362.8 MB, free: 8.379 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.0004848/0.09767, allocations: 0.81 MB / 363.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.09787, allocations: 43.91 kB / 363.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.09788, allocations: 256 / 363.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.336e-05/0.09795, allocations: 27.92 kB / 363.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.09835, allocations: 34.23 kB / 363.7 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.09967, allocations: 1.486 MB / 365.2 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.09992, allocations: 0.6924 MB / 365.9 MB, free: 5.129 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.552e-05/0.09996, allocations: 7.984 kB / 365.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.1, allocations: 19.44 kB / 365.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1, allocations: 0 / 365.9 MB, free: 5.102 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.1159, allocations: 1.679 MB / 367.6 MB, free: 3.551 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.012, allocations: 3.812 kB / 367.6 MB, free: 3.547 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