Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008144/0.0008144, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008416/0.0008416, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8982/0.8982, allocations: 173.4 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 318.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.612e-05, allocations: 10.28 kB / 318.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001945/0.001962, allocations: 1.516 MB / 319.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003045/0.002266, allocations: 147.4 kB / 320.1 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.002336, allocations: 0 / 320.1 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.973e-05/0.002426, allocations: 11.81 kB / 320.1 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.002509, allocations: 11.98 kB / 320.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.002687, allocations: 39.84 kB / 320.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.013e-05/0.002777, allocations: 43.84 kB / 320.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.002867, allocations: 11.98 kB / 320.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.002908, allocations: 31.84 kB / 320.2 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.725e-05/0.002935, allocations: 11.92 kB / 320.2 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.002959, allocations: 4 kB / 320.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.002968, allocations: 0 / 320.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.69e-05/0.003025, allocations: 19.92 kB / 320.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.003052, allocations: 8 kB / 320.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.003161, allocations: 59.8 kB / 320.3 MB, free: 4.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003163, allocations: 0 / 320.3 MB, free: 4.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003164, allocations: 0 / 320.3 MB, free: 4.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003167, allocations: 3.938 kB / 320.3 MB, free: 4.457 MB / 282.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.0003712/0.003539, allocations: 290.1 kB / 320.6 MB, free: 4.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.003575, allocations: 8.922 kB / 320.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.003606, allocations: 42.73 kB / 320.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.00363, allocations: 12.89 kB / 320.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.003796, allocations: 137.5 kB / 320.8 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.003817, allocations: 8.375 kB / 320.8 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.003825, allocations: 4.375 kB / 320.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.004049, allocations: 114.5 kB / 320.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.004056, allocations: 192 / 320.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.004065, allocations: 384 / 320.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.004087, allocations: 8.125 kB / 321 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.547e-05/0.004142, allocations: 27.97 kB / 321 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.004433, allocations: 329 kB / 321.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.719e-05/0.004511, allocations: 75.77 kB / 321.4 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.004544, allocations: 30.64 kB / 321.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.004554, allocations: 3.938 kB / 321.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.004574, allocations: 38.55 kB / 321.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.004575, allocations: 0 / 321.4 MB, free: 3.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002028/0.004778, allocations: 101.8 kB / 321.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.004825, allocations: 106.9 kB / 321.7 MB, free: 2.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.932e-05/0.004914, allocations: 144.6 kB / 321.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.004924, allocations: 29.64 kB / 321.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.004966, allocations: 92.08 kB / 321.9 MB, free: 2.656 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.916e-06/0.004975, allocations: 0 / 321.9 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.005006, allocations: 25.66 kB / 321.9 MB, free: 2.625 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/0.005097, allocations: 314.8 kB / 322.2 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.005123, allocations: 8 kB / 322.3 MB, free: 2.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.00515, allocations: 21.7 kB / 322.3 MB, free: 2.273 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.809e-05/0.005198, allocations: 37.7 kB / 322.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0052, allocations: 0 / 322.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.882e-05/0.005269, allocations: 65.55 kB / 322.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005281, allocations: 4 kB / 322.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.005286, allocations: 0 / 322.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.005298, allocations: 0 / 322.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.74e-05/0.005316, allocations: 0 / 322.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.00532, allocations: 8.062 kB / 322.4 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.005337, allocations: 4 kB / 322.4 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.005343, allocations: 0 / 322.4 MB, free: 2.145 MB / 282.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.752e-05/0.005421, allocations: 121.8 kB / 322.5 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.005471, allocations: 53.58 kB / 322.6 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.005496, allocations: 11.97 kB / 322.6 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.005506, allocations: 0 / 322.6 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.005511, allocations: 4 kB / 322.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005514, allocations: 0 / 322.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.005811, allocations: 148.6 kB / 322.7 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.005815, allocations: 7.969 kB / 322.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-06/0.00582, allocations: 4 kB / 322.7 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.005823, allocations: 4 kB / 322.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.005829, allocations: 0 / 322.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.00583, allocations: 0 / 322.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.005832, allocations: 4 kB / 322.7 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.005965, allocations: 255.6 kB / 323 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.005997, allocations: 15.88 kB / 323 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.006012, allocations: 4 kB / 323 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/0.006061, allocations: 11.92 kB / 323 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.006096, allocations: 4 kB / 323 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.0061, allocations: 0 / 323 MB, free: 1.426 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.006148, allocations: 117.4 kB / 323.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006148, allocations: 0 / 323.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.006318, allocations: 11.95 kB / 323.2 MB, free: 1.301 MB / 282.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.0003405/0.006659, allocations: 0.7867 MB / 323.9 MB, free: 496 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.006767, allocations: 39.91 kB / 324 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.006769, allocations: 0 / 324 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.549e-05/0.006795, allocations: 15.98 kB / 324 MB, free: 440 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.007112, allocations: 27.09 kB / 324 MB, free: 416 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008536/0.007966, allocations: 1.398 MB / 325.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.71e-05/0.008023, allocations: 79.33 kB / 325.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.357e-05/0.008047, allocations: 7.984 kB / 325.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.008082, allocations: 16.5 kB / 325.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008082, allocations: 0 / 325.5 MB, free: 14.79 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.02228, allocations: 2.374 MB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.904/6.926, allocations: 7.188 kB / 327.9 MB, free: 12.56 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.588450426235795]