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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 185.9 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 47.92 kB / 370.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2577, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002819/0.2605, allocations: 1.548 MB / 424.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003874/0.2609, allocations: 139.5 kB / 424.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.261, allocations: 4 kB / 424.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.988e-05/0.2611, allocations: 7.922 kB / 424.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.688e-05/0.2612, allocations: 7.875 kB / 424.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.2614, allocations: 39.89 kB / 424.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.2615, allocations: 35.92 kB / 424.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2616, allocations: 11.98 kB / 424.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.2616, allocations: 23.81 kB / 424.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.616e-05/0.2617, allocations: 19.92 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.2617, allocations: 4 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.2617, allocations: 4 kB / 424.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.2618, allocations: 19.92 kB / 424.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.2618, allocations: 23.8 kB / 424.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.2619, allocations: 57.38 kB / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2619, allocations: 0 / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2619, allocations: 0 / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.2619, allocations: 0 / 424.5 MB, free: 12.45 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.0005073/0.2624, allocations: 309.9 kB / 424.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.2625, allocations: 12.03 kB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.2625, allocations: 42.73 kB / 424.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.2625, allocations: 12.84 kB / 424.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.2628, allocations: 138.3 kB / 425 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.2628, allocations: 384 / 425 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.2628, allocations: 4.375 kB / 425 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.2631, allocations: 122.4 kB / 425.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2631, allocations: 7.938 kB / 425.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.2631, allocations: 7.984 kB / 425.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.2631, allocations: 0 / 425.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.2632, allocations: 43.91 kB / 425.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.2637, allocations: 329 kB / 425.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.2638, allocations: 83.77 kB / 425.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.98e-05/0.2639, allocations: 38.62 kB / 425.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2639, allocations: 3.984 kB / 425.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2639, allocations: 38.5 kB / 425.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.2639, allocations: 3.938 kB / 425.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003268/0.2643, allocations: 109.5 kB / 425.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/0.2644, allocations: 106.8 kB / 425.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.2645, allocations: 148.7 kB / 426 MB, free: 10.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.2645, allocations: 29.7 kB / 426.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.2646, allocations: 88.14 kB / 426.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.2646, allocations: 4 kB / 426.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.2646, allocations: 25.66 kB / 426.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2648, allocations: 314.8 kB / 426.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.2648, allocations: 15.98 kB / 426.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.2649, allocations: 43.36 kB / 426.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.2651, allocations: 63.34 kB / 426.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2651, allocations: 3.984 kB / 426.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001714/0.2652, allocations: 81.55 kB / 426.7 MB, free: 9.984 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2652, allocations: 4 kB / 426.7 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2652, allocations: 0 / 426.7 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2653, allocations: 8.125 kB / 426.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.2653, allocations: 11.98 kB / 426.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2653, allocations: 0 / 426.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.2654, allocations: 7.953 kB / 426.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.2654, allocations: 4 kB / 426.7 MB, free: 9.949 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.000112/0.2655, allocations: 129.7 kB / 426.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/0.2656, allocations: 53.64 kB / 426.9 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.2656, allocations: 7.969 kB / 426.9 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.2656, allocations: 4 kB / 426.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2656, allocations: 4.031 kB / 426.9 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.2657, allocations: 7.984 kB / 426.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.2659, allocations: 140.7 kB / 427.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2659, allocations: 0 / 427.1 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.643e-05/0.2659, allocations: 11.98 kB / 427.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2659, allocations: 0 / 427.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.2659, allocations: 0 / 427.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2659, allocations: 0 / 427.1 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.266, allocations: 7.938 kB / 427.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.2662, allocations: 275.5 kB / 427.4 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.2663, allocations: 15.94 kB / 427.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2663, allocations: 0 / 427.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.2664, allocations: 4 kB / 427.4 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.2664, allocations: 7.984 kB / 427.4 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2664, allocations: 8 kB / 427.4 MB, free: 9.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.884e-05/0.2665, allocations: 107.2 kB / 427.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2665, allocations: 0 / 427.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.2668, allocations: 15.88 kB / 427.5 MB, free: 9.082 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.0005997/0.2674, allocations: 0.7984 MB / 428.3 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.2676, allocations: 51.89 kB / 428.4 MB, free: 8.203 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2676, allocations: 0 / 428.4 MB, free: 8.203 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.591e-05/0.2676, allocations: 12 kB / 428.4 MB, free: 8.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.268, allocations: 27.83 kB / 428.4 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.2696, allocations: 1.497 MB / 429.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.969e-05/0.2697, allocations: 79.33 kB / 430 MB, free: 6.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.729e-05/0.2697, allocations: 16.31 kB / 430 MB, free: 6.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.2698, allocations: 11.44 kB / 430 MB, free: 6.441 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2698, allocations: 0 / 430 MB, free: 6.441 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.3004, allocations: 2.265 MB / 432.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.21, allocations: 10.66 kB / 432.3 MB, free: 4.312 MB / 334.1 MB " [Timeout remaining time 649] (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 3.99122e-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) [Timeout 52.5] 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) [Timeout 660] "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! " [Timeout remaining time 660] "" 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] [Calling sys.exit(0), Time elapsed: 13.732040873263031]