Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.0007993/0.0007993, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001812, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.000644/0.000644, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008357/0.00148, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9194/0.9194, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08449/1.004, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.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: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.083e-05, allocations: 7.859 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002619/0.00264, allocations: 1.591 MB / 241.1 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002767/0.002916, allocations: 149 kB / 241.3 MB, free: 1.43 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.002982, allocations: 3.938 kB / 241.3 MB, free: 1.426 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.003021, allocations: 3.938 kB / 241.3 MB, free: 1.422 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.003088, allocations: 7.922 kB / 241.3 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.003266, allocations: 35.91 kB / 241.3 MB, free: 1.379 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.809e-05/0.003364, allocations: 31.86 kB / 241.4 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.272e-05/0.003447, allocations: 27.92 kB / 241.4 MB, free: 1.32 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.003512, allocations: 23.95 kB / 241.4 MB, free: 1.297 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.003546, allocations: 7.922 kB / 241.4 MB, free: 1.289 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.003568, allocations: 4 kB / 241.4 MB, free: 1.285 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.003579, allocations: 4 kB / 241.4 MB, free: 1.281 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.003622, allocations: 11.94 kB / 241.4 MB, free: 1.27 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.003647, allocations: 8 kB / 241.5 MB, free: 1.262 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003748, allocations: 31.78 kB / 241.5 MB, free: 1.23 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-05/0.003765, allocations: 4 kB / 241.5 MB, free: 1.227 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.003766, allocations: 0 / 241.5 MB, free: 1.227 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.003783, allocations: 0 / 241.5 MB, free: 1.227 MB / 234.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.0004016/0.004184, allocations: 280.3 kB / 241.8 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.004217, allocations: 8.031 kB / 241.8 MB, free: 0.918 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.004248, allocations: 8.922 kB / 241.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.004419, allocations: 137.1 kB / 241.9 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.004438, allocations: 4.375 kB / 241.9 MB, free: 0.75 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.004448, allocations: 4.375 kB / 241.9 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.004642, allocations: 118.2 kB / 242 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.004651, allocations: 4.125 kB / 242 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.004658, allocations: 384 / 242 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.004664, allocations: 384 / 242 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.004685, allocations: 11.92 kB / 242.1 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.004863, allocations: 149.2 kB / 242.2 MB, free: 440 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.004948, allocations: 49.11 kB / 242.2 MB, free: 372 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.004973, allocations: 17.78 kB / 242.3 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.004992, allocations: 4 kB / 242.3 MB, free: 344 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.005015, allocations: 38.55 kB / 242.3 MB, free: 296 kB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005016, allocations: 0 / 242.3 MB, free: 296 kB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001426/0.005158, allocations: 49.62 kB / 242.4 MB, free: 240 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.005209, allocations: 88.98 kB / 242.4 MB, free: 132 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.005308, allocations: 130.6 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.005318, allocations: 25.7 kB / 242.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.005358, allocations: 88.12 kB / 242.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.005367, allocations: 3.938 kB / 242.7 MB, free: 15.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.005394, allocations: 13.72 kB / 242.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.005496, allocations: 318.8 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.005504, allocations: 8.125 kB / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.005511, allocations: 0 / 243 MB, free: 15.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/0.005533, allocations: 8.859 kB / 243 MB, free: 15.5 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.005536, allocations: 0 / 243 MB, free: 15.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.524e-05/0.005591, allocations: 33.64 kB / 243.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.005604, allocations: 4 kB / 243.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005608, allocations: 0 / 243.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.005619, allocations: 3.984 kB / 243.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.095e-05/0.00563, allocations: 7.938 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005633, allocations: 96 / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.005656, allocations: 4 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.00566, allocations: 0 / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.289e-05/0.005723, allocations: 116.7 kB / 243.2 MB, free: 15.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.005773, allocations: 37.69 kB / 243.2 MB, free: 15.28 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.005802, allocations: 8 kB / 243.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.005806, allocations: 4.234 kB / 243.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.005809, allocations: 3.938 kB / 243.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.005812, allocations: 0 / 243.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.005927, allocations: 77.83 kB / 243.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.005929, allocations: 4 kB / 243.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.064e-06/0.005936, allocations: 7.938 kB / 243.3 MB, free: 15.15 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.005966, allocations: 19.91 kB / 243.3 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.005968, allocations: 0 / 243.3 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.005972, allocations: 4 kB / 243.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.005975, allocations: 3.984 kB / 243.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.005978, allocations: 7.938 kB / 243.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.933e-05/0.006058, allocations: 132.4 kB / 243.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.006068, allocations: 0 / 243.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.482e-05/0.006122, allocations: 0 / 243.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.006146, allocations: 4 kB / 243.5 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.00615, allocations: 4.031 kB / 243.5 MB, free: 14.96 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.82e-05/0.006178, allocations: 28.78 kB / 243.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006178, allocations: 0 / 243.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001993/0.006377, allocations: 7.938 kB / 243.5 MB, free: 14.92 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 7.479e-05/0.006452, allocations: 80.36 kB / 243.6 MB, free: 14.84 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.025e-05/0.006512, allocations: 12.84 kB / 243.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.006516, allocations: 0 / 243.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.006528, allocations: 8.859 kB / 243.6 MB, free: 14.81 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.006762, allocations: 32.83 kB / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.00718, allocations: 151.1 kB / 243.8 MB, free: 14.6 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.448e-05/0.007225, allocations: 59.34 kB / 243.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.731e-05/0.007242, allocations: 8.234 kB / 243.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.007292, allocations: 51.38 kB / 243.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007292, allocations: 0 / 243.9 MB, free: 14.46 MB / 250.7 MB Notification: Performance of Templates: time 0.002475/0.009767, allocations: 0.5441 MB / 244.5 MB, free: 13.93 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.346197265200317]