Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 51.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2663, allocations: 53.37 MB / 431.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003134/0.2694, allocations: 1.545 MB / 432.6 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004337/0.2699, allocations: 147.5 kB / 432.8 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.784e-05/0.27, allocations: 3.938 kB / 432.8 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.2701, allocations: 3.938 kB / 432.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.2702, allocations: 19.91 kB / 432.8 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.2704, allocations: 27.92 kB / 432.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.2705, allocations: 47.83 kB / 432.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2706, allocations: 12 kB / 432.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.066e-05/0.2707, allocations: 15.92 kB / 432.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.2707, allocations: 15.86 kB / 432.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.2707, allocations: 4 kB / 432.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.2708, allocations: 4 kB / 432.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.2708, allocations: 27.86 kB / 432.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.2709, allocations: 27.8 kB / 433 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.271, allocations: 49.45 kB / 433 MB, free: 4.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.271, allocations: 4 kB / 433 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.271, allocations: 0 / 433 MB, free: 4.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.271, allocations: 0 / 433 MB, free: 4.641 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.0005005/0.2715, allocations: 317.8 kB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2715, allocations: 12.03 kB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.2716, allocations: 30.75 kB / 433.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.2716, allocations: 12.88 kB / 433.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.2719, allocations: 138.4 kB / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.2719, allocations: 384 / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.2719, allocations: 8.375 kB / 433.5 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.2722, allocations: 122.4 kB / 433.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2722, allocations: 3.938 kB / 433.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.2722, allocations: 0 / 433.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.2722, allocations: 7.984 kB / 433.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.2723, allocations: 39.91 kB / 433.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.2728, allocations: 337 kB / 434 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.2729, allocations: 83.77 kB / 434.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.985e-05/0.273, allocations: 34.56 kB / 434.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.273, allocations: 4 kB / 434.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2731, allocations: 34.56 kB / 434.2 MB, free: 3.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.2731, allocations: 4 kB / 434.2 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003399/0.2734, allocations: 109.5 kB / 434.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.2735, allocations: 106.8 kB / 434.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2736, allocations: 148.6 kB / 434.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2736, allocations: 25.7 kB / 434.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.2737, allocations: 92.08 kB / 434.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.152e-05/0.2737, allocations: 4.328 kB / 434.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.2738, allocations: 25.72 kB / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2739, allocations: 318.8 kB / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.028e-05/0.274, allocations: 15.98 kB / 435 MB, free: 2.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.274, allocations: 39.42 kB / 435.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.2742, allocations: 67.28 kB / 435.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2742, allocations: 0 / 435.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001664/0.2743, allocations: 81.55 kB / 435.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2743, allocations: 7.938 kB / 435.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.2744, allocations: 4 kB / 435.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2744, allocations: 4 kB / 435.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.2745, allocations: 19.92 kB / 435.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.2745, allocations: 4.125 kB / 435.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.2745, allocations: 8 kB / 435.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.2745, allocations: 0 / 435.2 MB, free: 2.141 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.0001142/0.2746, allocations: 125.8 kB / 435.4 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.2747, allocations: 49.64 kB / 435.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.2747, allocations: 15.92 kB / 435.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.2748, allocations: 0 / 435.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2748, allocations: 4 kB / 435.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2748, allocations: 0 / 435.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.275, allocations: 144.7 kB / 435.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.275, allocations: 4.031 kB / 435.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.275, allocations: 15.92 kB / 435.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.275, allocations: 0 / 435.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.275, allocations: 8 kB / 435.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2751, allocations: 0 / 435.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2751, allocations: 0 / 435.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.2753, allocations: 263.5 kB / 435.9 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.2754, allocations: 19.92 kB / 435.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2754, allocations: 4 kB / 435.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.2755, allocations: 4 kB / 435.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.2755, allocations: 11.92 kB / 435.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.2755, allocations: 0 / 435.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.89e-05/0.2756, allocations: 107.3 kB / 436 MB, free: 1.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2756, allocations: 3.938 kB / 436 MB, free: 1.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.2758, allocations: 11.94 kB / 436 MB, free: 1.281 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.0006208/0.2765, allocations: 0.8064 MB / 436.8 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.2766, allocations: 43.91 kB / 436.9 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2766, allocations: 0 / 436.9 MB, free: 412 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.149e-05/0.2767, allocations: 19.92 kB / 436.9 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.2771, allocations: 24.02 kB / 436.9 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.2786, allocations: 1.49 MB / 438.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.434e-05/0.2787, allocations: 79.31 kB / 438.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.518e-05/0.2788, allocations: 4 kB / 438.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.2788, allocations: 23.42 kB / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2788, allocations: 0 / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.3059, allocations: 2.279 MB / 440.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.18, allocations: 4 kB / 440.8 MB, free: 12.5 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv","/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_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_4.1.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.783869158942252]