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.001803/0.001803, allocations: 110.2 kB / 17.07 MB, free: 6.016 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.00199/0.00199, allocations: 189.4 kB / 18 MB, free: 5.098 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.393/1.393, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 43.91 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2463, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002863/0.2492, allocations: 1.53 MB / 401.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004075/0.2496, allocations: 152.8 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.2497, allocations: 1.219 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.2499, allocations: 9.016 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.25, allocations: 5.094 kB / 401.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.2502, allocations: 53.48 kB / 402 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.874e-05/0.2503, allocations: 39.86 kB / 402 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2504, allocations: 15.98 kB / 402 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.2505, allocations: 11.94 kB / 402 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.2505, allocations: 19.86 kB / 402.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.2505, allocations: 4 kB / 402.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.2506, allocations: 8 kB / 402.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.2506, allocations: 15.97 kB / 402.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.2507, allocations: 31.75 kB / 402.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.2508, allocations: 50.7 kB / 402.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2508, allocations: 0 / 402.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2508, allocations: 3.938 kB / 402.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.2508, 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.0005164/0.2513, allocations: 391 kB / 402.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2514, allocations: 8.031 kB / 402.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.2514, allocations: 38.75 kB / 402.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.2515, allocations: 16.84 kB / 402.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.2517, allocations: 192.2 kB / 402.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.2517, allocations: 4.375 kB / 402.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2517, allocations: 384 / 402.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.252, allocations: 130.4 kB / 402.9 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2521, allocations: 3.938 kB / 402.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2521, allocations: 0 / 402.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.2521, allocations: 15.91 kB / 403 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.2522, allocations: 31.97 kB / 403 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.2527, allocations: 369.8 kB / 403.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.2528, allocations: 79.78 kB / 403.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.2529, allocations: 46.61 kB / 403.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-06/0.253, allocations: 0 / 403.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.253, allocations: 38.56 kB / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.253, allocations: 0 / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003406/0.2533, allocations: 105.8 kB / 403.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.2534, allocations: 114.7 kB / 403.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.2536, allocations: 148.3 kB / 403.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2536, allocations: 25.7 kB / 403.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.2537, allocations: 92.08 kB / 404 MB, free: 4.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.2537, allocations: 4 kB / 404 MB, free: 4.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.2537, allocations: 21.67 kB / 404 MB, free: 4.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2539, allocations: 322.9 kB / 404.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.254, allocations: 15.98 kB / 404.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.982e-05/0.254, allocations: 39.42 kB / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.2542, allocations: 67.28 kB / 404.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2542, allocations: 0 / 404.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001782/0.2544, allocations: 77.59 kB / 404.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2544, allocations: 10.59 kB / 404.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2544, allocations: 0 / 404.5 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2544, allocations: 8.125 kB / 404.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.2545, allocations: 8 kB / 404.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2545, allocations: 3.984 kB / 404.5 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.2546, allocations: 4 kB / 404.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.2546, allocations: 8 kB / 404.6 MB, free: 4.176 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.0001188/0.2547, allocations: 125.8 kB / 404.7 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/0.2548, allocations: 53.55 kB / 404.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.2549, allocations: 15.89 kB / 404.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.2549, allocations: 4 kB / 404.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2549, allocations: 0 / 404.8 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2549, allocations: 4 kB / 404.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.2551, allocations: 173.6 kB / 404.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.2551, allocations: 4 kB / 404.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.2552, allocations: 7.984 kB / 404.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.2552, allocations: 4 kB / 404.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2552, allocations: 0 / 404.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2552, allocations: 0 / 404.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2552, allocations: 4 kB / 404.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.2555, allocations: 275.5 kB / 405.2 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/0.2556, allocations: 96.98 kB / 405.3 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.2556, allocations: 0 / 405.3 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.2557, allocations: 7.984 kB / 405.3 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.2558, allocations: 8 kB / 405.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.2558, allocations: 0 / 405.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.418e-05/0.2559, allocations: 110.3 kB / 405.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2559, allocations: 4 kB / 405.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.2562, allocations: 11.94 kB / 405.4 MB, free: 3.18 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.0005911/0.2568, allocations: 0.8108 MB / 406.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.257, allocations: 43.95 kB / 406.3 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.257, allocations: 4.188 kB / 406.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.257, allocations: 23.98 kB / 406.3 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.2574, allocations: 20.02 kB / 406.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.259, allocations: 1.494 MB / 407.8 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.2594, allocations: 0.6885 MB / 408.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.087e-05/0.2594, allocations: 15.98 kB / 408.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.2595, allocations: 11.44 kB / 408.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2595, allocations: 0 / 408.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.2817, allocations: 1.719 MB / 410.3 MB, free: 14.33 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.182, allocations: 8.547 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 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.csv","/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) "Error: Could not read variable sample1.y[2] in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv failed! " Variables in the reference:time,sample1.y[1],sample1.y[2] Variables in the result:time,step1.startTime,step2.startTime,sample1.u[1],sample1.u[2],sample1.y[1]