Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 111.2 kB / 17.06 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 193.4 kB / 17.99 MB, free: 5.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 47.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2668, allocations: 49.43 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003447/0.2703, allocations: 1.527 MB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004362/0.2707, allocations: 140.1 kB / 401.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.2708, allocations: 6.406 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.2709, allocations: 15.86 kB / 401.9 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.08e-05/0.271, allocations: 5.375 kB / 401.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.2713, allocations: 38.58 kB / 402 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.2714, allocations: 44.33 kB / 402 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2715, allocations: 17.89 kB / 402 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.2716, allocations: 11.94 kB / 402 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.2716, allocations: 27.91 kB / 402.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.2716, allocations: 0 / 402.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.2717, allocations: 4 kB / 402.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.2717, allocations: 15.92 kB / 402.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.2718, allocations: 31.75 kB / 402.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.272, allocations: 54.69 kB / 402.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.272, allocations: 0 / 402.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.272, allocations: 4 kB / 402.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.272, allocations: 0 / 402.2 MB, free: 6.879 MB / 318.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.0007106/0.2727, allocations: 391 kB / 402.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.2728, allocations: 8.031 kB / 402.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.489e-05/0.2728, allocations: 38.75 kB / 402.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.2729, allocations: 12.84 kB / 402.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.2732, allocations: 196.1 kB / 402.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2733, allocations: 4.375 kB / 402.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.2733, allocations: 4.375 kB / 402.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.2736, allocations: 122.4 kB / 402.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2736, allocations: 3.938 kB / 402.9 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2737, allocations: 8 kB / 402.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/0.2737, allocations: 7.984 kB / 402.9 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.2738, allocations: 35.91 kB / 403 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.2745, allocations: 369.9 kB / 403.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.2746, allocations: 79.78 kB / 403.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.2748, allocations: 42.61 kB / 403.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.2748, allocations: 0 / 403.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.2748, allocations: 42.48 kB / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2748, allocations: 0 / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003957/0.2752, allocations: 113.5 kB / 403.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/0.2753, allocations: 102.8 kB / 403.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.2755, allocations: 137.8 kB / 403.8 MB, free: 4.934 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2755, allocations: 25.7 kB / 403.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.2756, allocations: 100 kB / 404 MB, free: 4.801 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.2756, allocations: 4.375 kB / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.2757, allocations: 25.67 kB / 404 MB, free: 4.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2758, allocations: 318.8 kB / 404.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.2759, allocations: 15.98 kB / 404.3 MB, free: 4.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.276, allocations: 43.36 kB / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.2762, allocations: 63.28 kB / 404.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2762, allocations: 0 / 404.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001758/0.2763, allocations: 81.72 kB / 404.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2764, allocations: 8 kB / 404.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.2764, allocations: 4 kB / 404.5 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.2764, allocations: 3.938 kB / 404.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.2765, allocations: 8 kB / 404.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.2765, allocations: 3.984 kB / 404.5 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.2766, allocations: 4 kB / 404.5 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2766, allocations: 4 kB / 404.5 MB, free: 4.18 MB / 318.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.0001679/0.2768, allocations: 133.7 kB / 404.7 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.2769, allocations: 53.61 kB / 404.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.2769, allocations: 11.86 kB / 404.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.2769, allocations: 4 kB / 404.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2769, allocations: 0 / 404.7 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2769, allocations: 4 kB / 404.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.2772, allocations: 177.6 kB / 404.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.2772, allocations: 3.984 kB / 404.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.2773, allocations: 8 kB / 404.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2773, allocations: 0 / 404.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2773, allocations: 4.031 kB / 404.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2773, allocations: 0 / 404.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.2773, allocations: 4 kB / 404.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.2776, allocations: 267.5 kB / 405.2 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.2777, allocations: 97.05 kB / 405.3 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.2778, allocations: 0 / 405.3 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2779, allocations: 11.98 kB / 405.3 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.2779, allocations: 4 kB / 405.3 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2779, allocations: 3.938 kB / 405.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.89e-05/0.278, allocations: 114 kB / 405.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.278, allocations: 0 / 405.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.2783, allocations: 7.938 kB / 405.4 MB, free: 3.184 MB / 318.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.0007378/0.279, allocations: 0.8108 MB / 406.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.2792, allocations: 51.91 kB / 406.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2793, allocations: 0 / 406.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.24e-05/0.2793, allocations: 15.98 kB / 406.3 MB, free: 2.277 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.2798, allocations: 24.02 kB / 406.3 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.2814, allocations: 1.49 MB / 407.8 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.2818, allocations: 0.6992 MB / 408.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.496e-05/0.2818, allocations: 11.92 kB / 408.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.2819, allocations: 11.44 kB / 408.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.535e-06/0.2819, allocations: 0 / 408.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.3047, allocations: 1.727 MB / 410.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.324, allocations: 15.91 kB / 410.3 MB, free: 14.32 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches