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.0008328/0.0008329, allocations: 97.98 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 204.1 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000229/0.000229, allocations: 4 kB / 307.8 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08393/0.08418, allocations: 51.52 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001546/0.08575, allocations: 1.25 MB / 360.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.08606, allocations: 139.6 kB / 360.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.08613, allocations: 3.938 kB / 360.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.538e-05/0.0862, allocations: 0 / 360.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/0.08628, allocations: 15.92 kB / 360.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.08648, allocations: 35.91 kB / 360.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.479e-05/0.08656, allocations: 35.86 kB / 360.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.889e-05/0.08665, allocations: 19.98 kB / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.08668, allocations: 19.86 kB / 360.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.08673, allocations: 19.84 kB / 360.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.08676, allocations: 7.938 kB / 360.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-06/0.08677, allocations: 0 / 360.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.08682, allocations: 8 kB / 360.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.08686, allocations: 53.44 kB / 361 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.152e-05/0.08695, allocations: 55.8 kB / 361 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.08696, allocations: 0 / 361 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.08696, allocations: 0 / 361 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.08697, allocations: 0 / 361 MB, free: 11.52 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.0003648/0.08734, allocations: 381.6 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.08737, allocations: 8.031 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.08742, allocations: 38.73 kB / 361.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.08745, allocations: 12.84 kB / 361.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.08761, allocations: 184.2 kB / 361.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.08763, allocations: 4.375 kB / 361.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.08764, allocations: 4.312 kB / 361.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.08789, allocations: 138.4 kB / 361.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.08791, allocations: 3.938 kB / 361.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.08792, allocations: 3.984 kB / 361.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.08794, allocations: 4 kB / 361.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.08808, allocations: 39.97 kB / 361.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.08846, allocations: 377.8 kB / 362.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.0886, allocations: 91.77 kB / 362.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.08868, allocations: 34.62 kB / 362.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.0887, allocations: 4 kB / 362.3 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.08872, allocations: 42.56 kB / 362.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.08873, allocations: 0 / 362.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003158/0.08905, allocations: 125.8 kB / 362.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.08911, allocations: 102.8 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.08922, allocations: 152.3 kB / 362.7 MB, free: 9.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.08924, allocations: 25.7 kB / 362.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.08929, allocations: 88.14 kB / 362.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/0.0893, allocations: 0 / 362.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.08933, allocations: 17.7 kB / 362.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.08942, allocations: 314.8 kB / 363.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.08949, allocations: 24.02 kB / 363.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-05/0.08957, allocations: 47.36 kB / 363.2 MB, free: 9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.08971, allocations: 79.27 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.08972, allocations: 3.938 kB / 363.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001692/0.0899, allocations: 97.45 kB / 363.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.08992, allocations: 4 kB / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.08993, allocations: 4 kB / 363.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.597e-06/0.08994, allocations: 0 / 363.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.09002, allocations: 11.98 kB / 363.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.09003, allocations: 8.125 kB / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.09008, allocations: 4 kB / 363.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.09009, allocations: 4 kB / 363.4 MB, free: 8.77 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 9.943e-05/0.0902, allocations: 133.7 kB / 363.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.174e-05/0.09028, allocations: 57.53 kB / 363.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.09032, allocations: 11.83 kB / 363.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.09034, allocations: 4 kB / 363.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.09035, allocations: 8.016 kB / 363.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.09036, allocations: 4 kB / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.09057, allocations: 173.6 kB / 363.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.09058, allocations: 0 / 363.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.09063, allocations: 8 kB / 363.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.09064, allocations: 0 / 363.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.09065, allocations: 7.969 kB / 363.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.09066, allocations: 4 kB / 363.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.09066, allocations: 0 / 363.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.0909, allocations: 279.4 kB / 364.1 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.09096, allocations: 93 kB / 364.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.09098, allocations: 4 kB / 364.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.09109, allocations: 8 kB / 364.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.09112, allocations: 3.984 kB / 364.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.09113, allocations: 4 kB / 364.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.63e-05/0.0912, allocations: 103.3 kB / 364.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0912, allocations: 0 / 364.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.09145, allocations: 8 kB / 364.3 MB, free: 7.766 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.000455/0.09191, allocations: 0.8178 MB / 365.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.09208, allocations: 51.91 kB / 365.2 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.09209, allocations: 0 / 365.2 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.09216, allocations: 28.23 kB / 365.2 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.09254, allocations: 24.2 kB / 365.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.09384, allocations: 1.532 MB / 366.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.09408, allocations: 0.6913 MB / 367.5 MB, free: 4.453 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.276e-05/0.09412, allocations: 7.984 kB / 367.5 MB, free: 4.445 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.09417, allocations: 19.44 kB / 367.5 MB, free: 4.426 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.09417, allocations: 0 / 367.5 MB, free: 4.426 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01007/0.1043, allocations: 1.452 MB / 369 MB, free: 3.16 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.1045, allocations: 238.8 kB / 369.2 MB, free: 2.898 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.733, allocations: 0 / 369.2 MB, free: 2.898 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