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.001639/0.001639, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002041/0.002041, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.52/1.52, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.003043/0.003043, allocations: 63.88 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2529, allocations: 53.4 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003518/0.2564, allocations: 1.623 MB / 432.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2576, allocations: 0.5259 MB / 433.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.2577, allocations: 4 kB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.2578, allocations: 11.86 kB / 433.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2579, allocations: 15.86 kB / 433.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.2583, allocations: 71.73 kB / 433.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001418/0.2584, allocations: 63.72 kB / 433.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2585, allocations: 15.98 kB / 433.5 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2586, allocations: 31.91 kB / 433.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.2587, allocations: 27.8 kB / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.2587, allocations: 11.94 kB / 433.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.2588, allocations: 8 kB / 433.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.042e-05/0.2588, allocations: 23.91 kB / 433.6 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.2589, allocations: 23.81 kB / 433.6 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.259, allocations: 85.22 kB / 433.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2591, allocations: 0 / 433.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2591, allocations: 0 / 433.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.2591, allocations: 0 / 433.7 MB, free: 3.906 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.0005357/0.2596, allocations: 317.9 kB / 434 MB, free: 3.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2596, allocations: 11.98 kB / 434 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.2597, allocations: 38.73 kB / 434 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.26, allocations: 28.88 kB / 434.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.2603, allocations: 154.9 kB / 434.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.2603, allocations: 4.375 kB / 434.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.2603, allocations: 384 / 434.2 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.2606, allocations: 130 kB / 434.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2606, allocations: 4 kB / 434.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2606, allocations: 4 kB / 434.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.2606, allocations: 0 / 434.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.2608, allocations: 47.89 kB / 434.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.2613, allocations: 348.8 kB / 434.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.2614, allocations: 79.78 kB / 434.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.2615, allocations: 42.62 kB / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2616, allocations: 0 / 434.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.2616, allocations: 38.55 kB / 434.9 MB, free: 2.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.2616, allocations: 3.938 kB / 434.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003818/0.262, allocations: 117.5 kB / 435 MB, free: 2.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/0.2621, allocations: 102.8 kB / 435.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2622, allocations: 158.6 kB / 435.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.2622, allocations: 29.7 kB / 435.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.2623, allocations: 96.12 kB / 435.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.2623, allocations: 7.953 kB / 435.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.2624, allocations: 13.72 kB / 435.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2625, allocations: 326.8 kB / 435.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.149e-05/0.2626, allocations: 15.98 kB / 435.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.2627, allocations: 47.36 kB / 435.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.2628, allocations: 63.41 kB / 435.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2628, allocations: 7.938 kB / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001981/0.263, allocations: 89.48 kB / 436 MB, free: 1.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.263, allocations: 8 kB / 436 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.263, allocations: 128 / 436 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.263, allocations: 4 kB / 436 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.2631, allocations: 11.98 kB / 436 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.996e-06/0.2631, allocations: 4 kB / 436 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.2632, allocations: 7.984 kB / 436 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.2632, allocations: 0 / 436 MB, free: 1.316 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.232e-05/0.2633, allocations: 121.8 kB / 436.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.723e-05/0.2634, allocations: 65.61 kB / 436.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.2634, allocations: 19.91 kB / 436.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.2634, allocations: 4 kB / 436.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2634, allocations: 4.031 kB / 436.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2635, allocations: 0 / 436.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.2637, allocations: 148.7 kB / 436.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2637, allocations: 0 / 436.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.2638, allocations: 11.98 kB / 436.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2638, allocations: 3.938 kB / 436.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.2638, allocations: 0 / 436.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2638, allocations: 0 / 436.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2638, allocations: 4 kB / 436.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.2641, allocations: 279.5 kB / 436.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.2641, allocations: 19.89 kB / 436.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.2641, allocations: 3.984 kB / 436.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2642, allocations: 7.984 kB / 436.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.2643, allocations: 4 kB / 436.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2643, allocations: 7.984 kB / 436.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.675e-05/0.2644, allocations: 112.1 kB / 436.8 MB, free: 444 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2644, allocations: 4 kB / 436.8 MB, free: 440 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.2646, allocations: 4 kB / 436.8 MB, free: 436 kB / 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.0005953/0.2652, allocations: 0.8101 MB / 437.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.2654, allocations: 51.89 kB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2654, allocations: 4 kB / 437.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.794e-05/0.2655, allocations: 15.98 kB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.2659, allocations: 28.48 kB / 437.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.2677, allocations: 1.579 MB / 439.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.2678, allocations: 92.92 kB / 439.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.578e-05/0.2679, allocations: 11.98 kB / 439.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.268, allocations: 19.44 kB / 439.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.268, allocations: 0 / 439.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.2968, allocations: 2.492 MB / 441.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.14, allocations: 12.3 kB / 441.9 MB, free: 11.28 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.716381501872092]