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.001687/0.001687, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001723/0.001723, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3175, allocations: 50.55 MB / 408.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.004129/0.3216, allocations: 1.541 MB / 410.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005413/0.3222, allocations: 143.5 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.3224, allocations: 0 / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.3225, allocations: 3.938 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.3227, allocations: 23.86 kB / 410.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.323, allocations: 27.91 kB / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.3231, allocations: 43.84 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.3232, allocations: 19.98 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.3233, allocations: 19.86 kB / 410.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.3233, allocations: 11.94 kB / 410.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3234, allocations: 4 kB / 410.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.3234, allocations: 11.94 kB / 410.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.3235, allocations: 11.98 kB / 410.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.3235, allocations: 27.75 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3236, allocations: 55.8 kB / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3237, allocations: 0 / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3237, allocations: 0 / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3237, allocations: 0 / 410.7 MB, free: 15.64 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.0005524/0.3242, allocations: 384.8 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3243, allocations: 8.031 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.3243, allocations: 38.75 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.3244, allocations: 8.844 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.3247, allocations: 202.4 kB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.3247, allocations: 8.375 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3247, allocations: 384 / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.325, allocations: 130.4 kB / 411.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.325, allocations: 3.938 kB / 411.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.325, allocations: 3.984 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.3251, allocations: 4 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.3252, allocations: 39.91 kB / 411.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.3257, allocations: 365.8 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.3259, allocations: 83.77 kB / 411.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.996e-05/0.3259, allocations: 46.62 kB / 412 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.326, allocations: 0 / 412 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.326, allocations: 34.5 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.326, allocations: 4 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000383/0.3264, allocations: 109.8 kB / 412.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.3265, allocations: 110.8 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3266, allocations: 137.8 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3267, allocations: 25.7 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.3267, allocations: 92.08 kB / 412.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.3268, allocations: 7.906 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.3268, allocations: 21.72 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3269, allocations: 318.9 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.665e-05/0.327, allocations: 19.98 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.3271, allocations: 39.36 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.3272, allocations: 63.34 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3272, allocations: 0 / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001705/0.3274, allocations: 89.44 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3274, allocations: 4 kB / 413 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3274, allocations: 128 / 413 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3275, allocations: 8 kB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.08e-05/0.3276, allocations: 11.98 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3276, allocations: 0 / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.3276, allocations: 7.938 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3276, allocations: 4 kB / 413.1 MB, free: 12.94 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.0001238/0.3278, allocations: 133.6 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.356e-05/0.3279, allocations: 53.59 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.3279, allocations: 19.86 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.3279, allocations: 4 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3279, allocations: 0 / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3279, allocations: 0 / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.3282, allocations: 181.6 kB / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3282, allocations: 3.938 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.3282, allocations: 4 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3283, allocations: 4 kB / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3283, allocations: 0 / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3283, allocations: 0 / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3283, allocations: 7.984 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.3285, allocations: 267.4 kB / 413.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.3286, allocations: 93 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.3286, allocations: 0 / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3287, allocations: 12 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.3288, allocations: 3.938 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.3288, allocations: 7.984 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.849e-05/0.3289, allocations: 105.5 kB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3289, allocations: 0 / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.3292, allocations: 8 kB / 414 MB, free: 11.94 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.0005594/0.3297, allocations: 0.8022 MB / 414.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.3299, allocations: 47.91 kB / 414.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3299, allocations: 4.25 kB / 414.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.958e-05/0.33, allocations: 15.98 kB / 414.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.3305, allocations: 31.55 kB / 414.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.332, allocations: 1.494 MB / 416.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3323, allocations: 0.6963 MB / 417 MB, free: 8.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.071e-05/0.3324, allocations: 7.984 kB / 417.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.3325, allocations: 19.42 kB / 417.1 MB, free: 8.664 MB / 334.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3325, allocations: 0 / 417.1 MB, free: 8.664 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.3541, allocations: 1.741 MB / 418.8 MB, free: 7.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.28, allocations: 3.125 kB / 418.8 MB, free: 7.07 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.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