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.0008524/0.0008524, allocations: 80.34 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001002/0.001002, allocations: 156.9 kB / 23.94 MB, free: 0.6133 MB / 18.57 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 0.9337/0.9337, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.583e-06/1.583e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.805e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002142/0.00217, allocations: 1.536 MB / 326.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000322/0.002492, allocations: 151.4 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.002567, allocations: 3.938 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.253e-05/0.00266, allocations: 3.938 kB / 326.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.002749, allocations: 7.938 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.002962, allocations: 43.83 kB / 326.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.003063, allocations: 39.86 kB / 326.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.003163, allocations: 11.98 kB / 326.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.003206, allocations: 27.91 kB / 326.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.949e-05/0.003236, allocations: 11.92 kB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.003258, allocations: 8 kB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.003267, allocations: 0 / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.003321, allocations: 15.98 kB / 326.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.003347, allocations: 11.94 kB / 326.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.003469, allocations: 55.8 kB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.003473, allocations: 0 / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.003474, allocations: 0 / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.003479, allocations: 0 / 326.4 MB, free: 13.97 MB / 298.7 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.0003834/0.003862, allocations: 294 kB / 326.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.003903, allocations: 11.98 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.003934, allocations: 38.75 kB / 326.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.003959, allocations: 8.891 kB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.004174, allocations: 145.5 kB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.004193, allocations: 384 / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.004202, allocations: 8.375 kB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.004444, allocations: 118.4 kB / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.004451, allocations: 192 / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.00446, allocations: 384 / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.004488, allocations: 16.06 kB / 327.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.004543, allocations: 27.92 kB / 327.1 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.004848, allocations: 333 kB / 327.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.124e-05/0.00493, allocations: 71.78 kB / 327.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.004965, allocations: 34.62 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.004976, allocations: 3.938 kB / 327.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.004997, allocations: 38.5 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.004998, allocations: 4 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001942/0.005192, allocations: 89.55 kB / 327.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.005242, allocations: 110.8 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.005323, allocations: 140.9 kB / 327.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.005332, allocations: 25.7 kB / 327.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.005377, allocations: 88.14 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.668e-06/0.005387, allocations: 3.953 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.005413, allocations: 18.09 kB / 328 MB, free: 12.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.005488, allocations: 326.8 kB / 328.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.005517, allocations: 11.94 kB / 328.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.00554, allocations: 21.7 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/0.005586, allocations: 33.7 kB / 328.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005588, allocations: 0 / 328.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.831e-05/0.005657, allocations: 61.52 kB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.005669, allocations: 12.12 kB / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.005674, allocations: 0 / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.005687, allocations: 3.984 kB / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.725e-05/0.005704, allocations: 0 / 328.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.00571, allocations: 4 kB / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.005726, allocations: 0 / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.005731, allocations: 0 / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u[1],sample1.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.217e-05/0.005803, allocations: 121.8 kB / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.005856, allocations: 57.53 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.005883, allocations: 23.94 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.005897, allocations: 0 / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.005902, allocations: 4 kB / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.005906, allocations: 0 / 328.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.006051, allocations: 140.7 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.006055, allocations: 3.938 kB / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-06/0.00606, allocations: 0 / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.006061, allocations: 4 kB / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.006068, allocations: 0 / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006069, allocations: 0 / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.00607, allocations: 4 kB / 328.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.006206, allocations: 255.6 kB / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.212e-05/0.006238, allocations: 27.75 kB / 329.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.006251, allocations: 7.984 kB / 329.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.006306, allocations: 0 / 329.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.006342, allocations: 7.984 kB / 329.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.006346, allocations: 0 / 329.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.47e-05/0.00639, allocations: 103.3 kB / 329.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006391, allocations: 0 / 329.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.006566, allocations: 8 kB / 329.2 MB, free: 10.81 MB / 298.7 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.0003357/0.006901, allocations: 0.7935 MB / 330 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.94e-05/0.007001, allocations: 36 kB / 330.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.007003, allocations: 0 / 330.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.007027, allocations: 15.94 kB / 330.1 MB, free: 9.941 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.007346, allocations: 30.34 kB / 330.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009575/0.008304, allocations: 1.409 MB / 331.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.433e-05/0.008368, allocations: 79.58 kB / 331.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.132e-05/0.008399, allocations: 12.12 kB / 331.6 MB, free: 8.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.008439, allocations: 20.48 kB / 331.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.00844, allocations: 0 / 331.6 MB, free: 8.277 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.02314, allocations: 2.376 MB / 334 MB, free: 6.02 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.796/6.819, allocations: 3.938 kB / 334 MB, free: 6.016 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y[1],sample1.y[2] Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,sample1.n,sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2],step1.startTime,step1.startValue,step1.y,step2.startTime,step2.startValue,step2.y,time [Calling sys.exit(0), Time elapsed: 8.550382181070745]