Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001427/0.001427, 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.001813/0.001813, allocations: 209.5 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.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2473, allocations: 53.36 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002794/0.2501, allocations: 1.623 MB / 432.7 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.251, allocations: 0.5181 MB / 433.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.2511, allocations: 7.938 kB / 433.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.243e-05/0.2512, allocations: 7.875 kB / 433.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.2513, allocations: 23.86 kB / 433.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.2516, allocations: 63.8 kB / 433.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2518, allocations: 59.78 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.2519, allocations: 15.97 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.252, allocations: 43.84 kB / 433.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.252, allocations: 23.84 kB / 433.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.2521, allocations: 4 kB / 433.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.501e-05/0.2521, allocations: 12 kB / 433.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.252e-05/0.2522, allocations: 15.92 kB / 433.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.2522, allocations: 23.81 kB / 433.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.2524, allocations: 93.16 kB / 433.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2524, allocations: 0 / 433.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2524, allocations: 0 / 433.6 MB, free: 4.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2524, allocations: 0 / 433.6 MB, free: 4.09 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.0005176/0.2529, allocations: 321.9 kB / 433.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2529, allocations: 12.03 kB / 433.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.253, allocations: 30.75 kB / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.2532, allocations: 28.86 kB / 434 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.2534, allocations: 150.3 kB / 434.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.2535, allocations: 4.375 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.2535, allocations: 8.359 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.2538, allocations: 133.9 kB / 434.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2538, allocations: 0 / 434.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.2538, allocations: 3.938 kB / 434.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.2538, allocations: 4 kB / 434.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.2539, allocations: 39.97 kB / 434.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.2544, allocations: 344.9 kB / 434.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.2545, allocations: 83.77 kB / 434.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.86e-05/0.2546, allocations: 38.62 kB / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.2547, allocations: 0 / 434.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.2547, allocations: 38.5 kB / 434.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.2547, allocations: 4 kB / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003603/0.255, allocations: 121.4 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.2551, allocations: 102.8 kB / 435.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.2553, allocations: 158.2 kB / 435.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2553, allocations: 29.7 kB / 435.2 MB, free: 2.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.2553, allocations: 88.14 kB / 435.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.2553, allocations: 8.328 kB / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.2554, allocations: 25.7 kB / 435.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2555, allocations: 322.8 kB / 435.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.534e-05/0.2556, allocations: 15.97 kB / 435.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.2557, allocations: 39.42 kB / 435.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2558, allocations: 67.34 kB / 435.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2558, allocations: 4 kB / 435.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001946/0.256, allocations: 89.48 kB / 435.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.256, allocations: 4 kB / 435.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.256, allocations: 4 kB / 435.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.256, allocations: 0 / 435.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.2561, allocations: 15.98 kB / 435.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2561, allocations: 4 kB / 435.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.2562, allocations: 12.12 kB / 435.9 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.2562, allocations: 0 / 435.9 MB, free: 1.508 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: 0 () * 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 9.281e-05/0.2563, allocations: 125.8 kB / 436 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.2564, allocations: 61.52 kB / 436.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.2564, allocations: 15.92 kB / 436.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.2564, allocations: 0 / 436.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2564, allocations: 7.984 kB / 436.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2564, allocations: 0 / 436.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.2567, allocations: 152.7 kB / 436.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2567, allocations: 7.969 kB / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.2567, allocations: 4 kB / 436.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2567, allocations: 4 kB / 436.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2567, allocations: 3.984 kB / 436.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2567, allocations: 0 / 436.3 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2567, allocations: 4 kB / 436.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.257, allocations: 275.6 kB / 436.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.2571, allocations: 23.81 kB / 436.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.2571, allocations: 4 kB / 436.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.2572, allocations: 11.98 kB / 436.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.2572, allocations: 0 / 436.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2572, allocations: 4 kB / 436.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.22e-05/0.2573, allocations: 120.1 kB / 436.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2573, allocations: 0 / 436.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.2576, allocations: 8 kB / 436.7 MB, free: 0.6094 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: 0 () * 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.000579/0.2582, allocations: 0.8062 MB / 437.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.2584, allocations: 55.89 kB / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2584, allocations: 4 kB / 437.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.2584, allocations: 15.98 kB / 437.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.2589, allocations: 30.58 kB / 437.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2606, allocations: 1.589 MB / 439.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.2607, allocations: 84.98 kB / 439.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.519e-05/0.2607, allocations: 4 kB / 439.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.2608, allocations: 31.42 kB / 439.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2608, allocations: 0 / 439.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.2889, allocations: 2.473 MB / 441.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.25, allocations: 19.3 kB / 441.8 MB, free: 11.48 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.825564401224256]