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.001284/0.001284, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 63.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2916, allocations: 50.56 MB / 408.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003037/0.2947, allocations: 1.53 MB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004165/0.2951, allocations: 143.5 kB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.2952, allocations: 4 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.2953, allocations: 7.922 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.635e-05/0.2954, allocations: 3.938 kB / 410.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.2957, allocations: 43.83 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2958, allocations: 39.86 kB / 410.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2959, allocations: 19.98 kB / 410.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.2959, allocations: 19.92 kB / 410.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.296, allocations: 15.92 kB / 410.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.296, allocations: 7.938 kB / 410.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.296, allocations: 0 / 410.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.2961, allocations: 15.98 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.2961, allocations: 27.75 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2963, allocations: 58.69 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2963, allocations: 4 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.2963, allocations: 0 / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.2963, allocations: 0 / 410.8 MB, free: 15.52 MB / 334.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.0004954/0.2968, allocations: 387 kB / 411.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.2969, allocations: 15.97 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.2969, allocations: 34.75 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.297, allocations: 8.891 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.2972, allocations: 202.6 kB / 411.4 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2972, allocations: 8.344 kB / 411.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2972, allocations: 8.312 kB / 411.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.2975, allocations: 122.5 kB / 411.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2976, allocations: 7.938 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.2976, allocations: 4 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.2976, allocations: 3.984 kB / 411.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.2977, allocations: 35.97 kB / 411.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.2982, allocations: 365.8 kB / 411.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2983, allocations: 79.78 kB / 412 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.661e-05/0.2984, allocations: 42.61 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.2984, allocations: 4 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2985, allocations: 34.56 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.2985, allocations: 0 / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003349/0.2988, allocations: 117.4 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.2989, allocations: 103.2 kB / 412.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.299, allocations: 141.8 kB / 412.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2991, allocations: 29.7 kB / 412.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.2991, allocations: 96.06 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.2992, allocations: 3.953 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.2992, allocations: 17.72 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2993, allocations: 322.8 kB / 412.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.505e-05/0.2994, allocations: 11.98 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.2995, allocations: 43.42 kB / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.2996, allocations: 59.28 kB / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2997, allocations: 8 kB / 413 MB, free: 12.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001768/0.2998, allocations: 85.48 kB / 413.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2999, allocations: 8 kB / 413.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2999, allocations: 0 / 413.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2999, allocations: 0 / 413.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.3, allocations: 11.98 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3, allocations: 4 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.14e-05/0.3, allocations: 8.125 kB / 413.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.3, allocations: 0 / 413.1 MB, free: 12.81 MB / 334.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.0001237/0.3002, allocations: 129.8 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.3003, allocations: 57.52 kB / 413.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.3003, allocations: 19.81 kB / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.3003, allocations: 0 / 413.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3003, allocations: 4 kB / 413.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3004, allocations: 0 / 413.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.3006, allocations: 181.6 kB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3006, allocations: 0 / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.3007, allocations: 8 kB / 413.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3007, allocations: 0 / 413.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3007, allocations: 0 / 413.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3007, allocations: 4 kB / 413.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3007, allocations: 0 / 413.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.301, allocations: 271.5 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.3011, allocations: 97.19 kB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.3011, allocations: 7.984 kB / 413.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.3012, allocations: 7.938 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.3012, allocations: 3.984 kB / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3012, allocations: 0 / 413.9 MB, free: 11.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.686e-05/0.3013, allocations: 117.5 kB / 414 MB, free: 11.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3013, allocations: 0 / 414 MB, free: 11.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.3016, allocations: 7.938 kB / 414 MB, free: 11.8 MB / 334.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.0005999/0.3022, allocations: 0.8062 MB / 414.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.3024, allocations: 43.91 kB / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3024, allocations: 4 kB / 414.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.3025, allocations: 15.98 kB / 414.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.3029, allocations: 28.38 kB / 414.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3045, allocations: 1.493 MB / 416.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.3049, allocations: 0.6924 MB / 417.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.774e-05/0.305, allocations: 7.984 kB / 417.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.305, allocations: 11.44 kB / 417.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.305, allocations: 0 / 417.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.3265, allocations: 1.725 MB / 418.9 MB, free: 6.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.244, allocations: 10.11 kB / 418.9 MB, free: 6.965 MB / 334.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.1.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