Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 215.5 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 60.03 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2451, allocations: 53.41 MB / 431.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003018/0.2482, allocations: 1.647 MB / 432.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2492, allocations: 0.5686 MB / 433.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.2493, allocations: 7.938 kB / 433.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.2494, allocations: 7.922 kB / 433.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.2495, allocations: 15.86 kB / 433.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.2498, allocations: 67.8 kB / 433.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.25, allocations: 59.72 kB / 433.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2501, allocations: 15.98 kB / 433.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.2502, allocations: 35.86 kB / 433.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.2503, allocations: 35.84 kB / 433.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.2503, allocations: 4 kB / 433.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.07e-05/0.2503, allocations: 4 kB / 433.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.2504, allocations: 23.91 kB / 433.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.2504, allocations: 31.75 kB / 433.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.2506, allocations: 79.95 kB / 433.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2506, allocations: 0 / 433.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2506, allocations: 0 / 433.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2506, allocations: 0 / 433.8 MB, free: 4.223 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.0005334/0.2512, allocations: 325.9 kB / 434.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2512, allocations: 8.031 kB / 434.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.2512, allocations: 42.73 kB / 434.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.2515, allocations: 24.88 kB / 434.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.2518, allocations: 150.9 kB / 434.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2518, allocations: 4.375 kB / 434.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.2518, allocations: 384 / 434.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.2522, allocations: 134 kB / 434.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2522, allocations: 0 / 434.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2522, allocations: 0 / 434.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.2522, allocations: 4 kB / 434.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.2523, allocations: 43.91 kB / 434.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.2529, allocations: 352.9 kB / 434.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.253, allocations: 87.77 kB / 434.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.229e-05/0.2531, allocations: 38.56 kB / 435 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.2531, allocations: 4 kB / 435 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.2531, allocations: 34.5 kB / 435 MB, free: 2.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2531, allocations: 0 / 435 MB, free: 2.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003801/0.2535, allocations: 117.5 kB / 435.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.2536, allocations: 110.7 kB / 435.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.2538, allocations: 154.2 kB / 435.4 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.2538, allocations: 29.7 kB / 435.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.2538, allocations: 92.47 kB / 435.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.2539, allocations: 23.88 kB / 435.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.2539, allocations: 13.72 kB / 435.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.254, allocations: 322.8 kB / 435.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.2541, allocations: 19.98 kB / 435.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.2542, allocations: 39.42 kB / 435.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.2543, allocations: 67.34 kB / 436 MB, free: 1.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2543, allocations: 0 / 436 MB, free: 1.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001991/0.2545, allocations: 93.55 kB / 436.1 MB, free: 1.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2546, allocations: 4 kB / 436.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2546, allocations: 0 / 436.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2546, allocations: 4.094 kB / 436.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.2547, allocations: 15.97 kB / 436.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.2547, allocations: 0 / 436.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.2548, allocations: 11.92 kB / 436.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.2548, allocations: 8 kB / 436.1 MB, free: 1.617 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.634e-05/0.2549, allocations: 121.9 kB / 436.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.777e-05/0.255, allocations: 53.64 kB / 436.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.255, allocations: 19.91 kB / 436.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.255, allocations: 4 kB / 436.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.255, allocations: 0 / 436.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.255, allocations: 0 / 436.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.2553, allocations: 156.6 kB / 436.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2553, allocations: 0 / 436.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.336e-05/0.2553, allocations: 15.98 kB / 436.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2553, allocations: 0 / 436.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.2553, allocations: 4.031 kB / 436.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2554, allocations: 7.938 kB / 436.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2554, allocations: 3.938 kB / 436.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.2556, allocations: 267.5 kB / 436.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.2557, allocations: 23.86 kB / 436.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2557, allocations: 4 kB / 436.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2558, allocations: 11.98 kB / 436.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.2559, allocations: 0 / 436.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.2559, allocations: 4 kB / 436.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.873e-05/0.256, allocations: 115.2 kB / 436.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.256, allocations: 0 / 436.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.2562, allocations: 8 kB / 436.9 MB, free: 0.7305 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.0005947/0.2568, allocations: 0.81 MB / 437.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.257, allocations: 59.89 kB / 437.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.257, allocations: 0 / 437.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.975e-05/0.2571, allocations: 15.98 kB / 437.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.2575, allocations: 30.61 kB / 437.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.2594, allocations: 1.59 MB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.2598, allocations: 0.7002 MB / 440.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.2598, allocations: 4 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.2599, allocations: 23.42 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2599, allocations: 0 / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.2893, allocations: 2.055 MB / 442.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.08, allocations: 16.05 kB / 442.2 MB, free: 11.39 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.599503163000918]