Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001733/0.001733, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002158/0.002158, allocations: 206 kB / 23.72 MB, free: 4.391 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003002/0.003002, allocations: 71.88 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3383, allocations: 53.4 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003613/0.3419, allocations: 1.537 MB / 432.7 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004718/0.3423, allocations: 147.4 kB / 432.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.3424, allocations: 0 / 432.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.3425, allocations: 7.922 kB / 432.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.3426, allocations: 7.938 kB / 432.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.3429, allocations: 50.95 kB / 432.9 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.343, allocations: 39.86 kB / 432.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3431, allocations: 19.78 kB / 432.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.3432, allocations: 11.94 kB / 433 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.3432, allocations: 23.84 kB / 433 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3432, allocations: 4 kB / 433 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.484e-05/0.3432, allocations: 4 kB / 433 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.3433, allocations: 15.92 kB / 433 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.3433, allocations: 15.88 kB / 433 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.3435, allocations: 53.62 kB / 433.1 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3435, allocations: 3.938 kB / 433.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3435, allocations: 0 / 433.1 MB, free: 4.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3435, allocations: 3.938 kB / 433.1 MB, free: 4.52 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.0004978/0.344, allocations: 302.1 kB / 433.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.344, allocations: 11.98 kB / 433.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.3441, allocations: 38.75 kB / 433.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.3441, allocations: 8.891 kB / 433.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.3444, allocations: 130.4 kB / 433.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3444, allocations: 8.375 kB / 433.6 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3444, allocations: 4.375 kB / 433.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.3447, allocations: 122.4 kB / 433.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3447, allocations: 3.938 kB / 433.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3448, allocations: 0 / 433.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.3448, allocations: 8 kB / 433.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.749e-05/0.3449, allocations: 27.92 kB / 433.7 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.3453, allocations: 328.9 kB / 434 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.3455, allocations: 79.78 kB / 434.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/0.3455, allocations: 30.62 kB / 434.2 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.3456, allocations: 4 kB / 434.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3456, allocations: 38.5 kB / 434.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3456, allocations: 0 / 434.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003417/0.3459, allocations: 93.55 kB / 434.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.346, allocations: 110.8 kB / 434.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3462, allocations: 140.2 kB / 434.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3462, allocations: 34.02 kB / 434.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.3463, allocations: 92.14 kB / 434.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.3463, allocations: 7.891 kB / 434.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.3463, allocations: 17.72 kB / 434.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3465, allocations: 322.8 kB / 435 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.557e-05/0.3465, allocations: 12 kB / 435 MB, free: 2.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.507e-05/0.3466, allocations: 35.42 kB / 435 MB, free: 2.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.3467, allocations: 55.34 kB / 435.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3467, allocations: 0 / 435.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.3468, allocations: 73.58 kB / 435.2 MB, free: 2.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3468, allocations: 7.984 kB / 435.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3468, allocations: 0 / 435.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3469, allocations: 7.938 kB / 435.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.876e-05/0.3469, allocations: 0 / 435.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3469, allocations: 4 kB / 435.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.3469, allocations: 4.125 kB / 435.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3469, allocations: 4 kB / 435.2 MB, free: 2.121 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[1],sample1.u[2],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.0001127/0.347, allocations: 125.8 kB / 435.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.661e-05/0.3471, allocations: 53.62 kB / 435.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.3472, allocations: 15.92 kB / 435.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.3472, allocations: 12.02 kB / 435.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3472, allocations: 0 / 435.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3472, allocations: 0 / 435.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.3474, allocations: 148.7 kB / 435.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3474, allocations: 4.031 kB / 435.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.847e-06/0.3474, allocations: 4 kB / 435.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3474, allocations: 0 / 435.5 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.3474, allocations: 4 kB / 435.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3474, allocations: 0 / 435.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3474, allocations: 0 / 435.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3477, allocations: 259.5 kB / 435.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.3477, allocations: 15.95 kB / 435.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3477, allocations: 0 / 435.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.3478, allocations: 7.984 kB / 435.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.3479, allocations: 4 kB / 435.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3479, allocations: 4 kB / 435.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.846e-05/0.3479, allocations: 113.4 kB / 435.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3479, allocations: 3.938 kB / 436 MB, free: 1.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.3482, allocations: 8 kB / 436 MB, free: 1.273 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[1],sample1.u[2],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.0005553/0.3487, allocations: 0.7906 MB / 436.8 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.3489, allocations: 35.98 kB / 436.8 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3489, allocations: 0 / 436.8 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.3489, allocations: 19.92 kB / 436.8 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.3494, allocations: 26.33 kB / 436.8 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.3509, allocations: 1.455 MB / 438.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.417e-05/0.3509, allocations: 79.33 kB / 438.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.643e-05/0.351, allocations: 7.984 kB / 438.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.351, allocations: 19.44 kB / 438.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.351, allocations: 0 / 438.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.3803, allocations: 2.262 MB / 440.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.1, allocations: 4.062 kB / 440.7 MB, free: 12.54 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y[1] in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[1] from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! Error: Could not read variable sample1.y[2] in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv. Warning: Get data of variable sample1.y[2] from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.732391017023474]